运行 TensorFlow 程序 premade_estimator.py 时出错
Error while running TensorFlow program premade_estimator.py
我在 CPU 版本中使用 运行 tensorFlow,在 Windows 中使用原生 pip。虽然 运行 TensorFlow 用于检查 "Hello TensorFlow" 的输出带有一些警告。
在 运行 Premade_estimator
我得到错误:
我该如何解决这个问题?
假设您有最新版本的 Tensorflow,似乎没有正确导入。
我在 运行 脚本时遇到了这个错误,并且在我下载了 tensorflow 的同一文件夹中,因此在导入 "tensorflow" 时它会导入我所在的 tensorflow 文件夹而不是安装了 tensorflow 库。
我在 CPU 版本中使用 运行 tensorFlow,在 Windows 中使用原生 pip。虽然 运行 TensorFlow 用于检查 "Hello TensorFlow" 的输出带有一些警告。
在 运行 Premade_estimator
我得到错误:
我该如何解决这个问题?
假设您有最新版本的 Tensorflow,似乎没有正确导入。
我在 运行 脚本时遇到了这个错误,并且在我下载了 tensorflow 的同一文件夹中,因此在导入 "tensorflow" 时它会导入我所在的 tensorflow 文件夹而不是安装了 tensorflow 库。