安装过程中的张量流问题

时间:2020-02-28 14:11:40

标签: python tensorflow installation package tensorflow-datasets

我尝试遵循此教程:https://www.actuia.com/tutoriel/classifier-images-tensorflow/ 但是我在“总理分类”期间遇到了问题。我在Anaconda提示符下执行命令,它告诉我:

    (unamur_geoproject_light) C:\Users\Admin\models\tutorials\image\imagenet>python classify_image.py --model_dir=tmp
Traceback (most recent call last):
  File "classify_image.py", line 46, in <module>
    import tensorflow as tf
  File "C:\Users\Admin\AppData\Local\conda\conda\envs\unamur_geoproject_light\lib\site-packages\tensorflow\__init__.py", line 99, in <module>
    from tensorflow_core import *
  File "C:\Users\Admin\AppData\Local\conda\conda\envs\unamur_geoproject_light\lib\site-packages\tensorflow_core\__init__.py", line 28, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
ImportError: cannot import name 'pywrap_tensorflow' from 'tensorflow_core.python' (unknown location)

您有解决此问题的解决方案吗?请

0 个答案:

没有答案