我想使用以下命令从终端启动Tensorboard:
tensorboard --logdir=/home/anneke/project/surf/tensorflow/cnn4sft --host=127.0.0.1
但它显示此错误:
TensorBoard 1.5.1 at http://127.0.0.1:6006 (Press CTRL+C to quit)
E0725 16:26:52.340939 Thread-1 _internal.py:88] Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 261, in execute
write(data)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 224, in write
self.send_response(code, msg)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 332, in send_response
self.log_request(code)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 356, in log_request
color = termcolor.colored
AttributeError: 'module' object has no attribute 'colored'
有人可以帮忙吗?
答案 0 :(得分:0)
我检查了termcolor
软件包后,似乎发生了安装崩溃。
因此,我使用termcolor
卸载了sudo pip uninstall termcolor
软件包,然后重新安装,还使用sudo pip install --no-cache-dir termcolor
删除了缓存。
现在它可以在浏览器中执行并启动张量板了。