所以当我尝试启动张量板时,我收到了这个错误:
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 7, in <module>
from tensorflow.tensorboard.tensorboard import main
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 34, in <module>
from tensorflow.tensorboard.backend import server
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/server.py", line 38, in <module>
from tensorflow.tensorboard.plugins.projector import plugin as projector_plugin
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/plugins/projector/plugin.py", line 27, in <module>
from tensorflow.contrib.tensorboard.plugins.projector import PROJECTOR_FILENAME
ImportError: cannot import name PROJECTOR_FILENAME
出了什么问题?
答案 0 :(得分:1)
当我使用以下命令启动TB时,我遇到了这个错误:
python -m tensorflow.tensorboard
当我使用另一个时,它就可以了:
tensorboard --logdir=path/to/log-directory