我使用tensorflow 1.10.0将python 3.6.3脚本中的摘要文件制作到名为'summaries'的目录中。
然后,当我键入tensorboard --logdir==summaries/
时,
我收到以下错误:
File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python36\Scripts\tensorboard.exe\__main__.py", line 5, in <module>
ImportError: cannot import name 'main'
有人可以指出我该如何解决吗?
答案 0 :(得分:1)
尝试 pip install --upgrade tensorflow-tensorboard