我正在尝试安装 Deeplab 并在我的机器上运行它。我正在关注这个
我能够运行初始测试'python3 deeplab/model_test.py',但我得到了
没有名为 Tensorflow 的模块
运行下一步时出错,sh local_test.sh
Tensorflow 已安装在机器上,我尝试使用不同版本的 tensorflow 来验证任何不兼容问题。请建议我在哪里出错以及需要做什么才能成功运行它。
这是错误消息:
Traceback (most recent call last):
File "/home/ssindhu/models/research/deeplab/model_test.py", line 18, in <module>
import tensorflow as tf
ImportError: No module named tensorflow
但是机器上安装了tensorflow:
pip show tensorflow
给了我以下输出。
Name: tensorflow
Version: 1.13.1
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: opensource@google.com
License: Apache 2.0
Location: /home/ssindhu/.local/lib/python3.6/site-packages
Requires: six, astor, numpy, protobuf, tensorboard, tensorflow-estimator, termcolor, grpcio, wheel, keras-applications, gast, absl-py, keras-preprocessing
Required-by: