这个错误似乎是因为 TensorFlow 版本问题导致的。尝试升级 TensorFlow 和 TensorFlow Estimator 到最新版本,或者降级到兼容的版本,看看是否可以解决问题。另外,确保 TensorFlow 和 TensorFlow Estimator 安装在同一个环境中。

julia BFGS!sess lossERROR PyError PyObject_GetAttrString class ImportErrorImportErrorcannot import name model_fn from tensorflow_estimatorpythonestimator public1homescb1172locallibpython37site-package

原文地址: http://www.cveoy.top/t/topic/dGv6 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录