成功解决ValueError: Duplicate plugins for name projector

今天在用tensorboardX的过程中,遇到了如下问题:

(base) C:\Users\Administrator>tensorboard --logdir=exp/ade20k
TensorFlow installation not found - running with reduced feature set.
Traceback (most recent call last):
  File "D:\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Anaconda3\Scripts\tensorboard.exe\__main__.py", line 7, in <module>
  File "D:\Anaconda3\lib\site-packages\tensorboard\main.py", line 46, in run_main
    app.run(tensorboard.main, flags_parser=tensorboard.configure)
  File "D:\Anaconda3\lib\site-packages\absl\app.py", line 308, in run
    _run_main(main, args)
  File "D:\Anaconda3\lib\site-packages\absl\app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "D:\Anaconda3\lib\site-packages\tensorboard\program.py", line 276, in main
    return runner(self.flags) or 0
  File "D:\Anaconda3\lib\site-packages\tensorboard\program.py", line 292, in _run_serve_subcommand
    server = self._make_server()
  File "D:\Anaconda3\lib\site-packages\tensorboard\program.py", line 467, in _make_server
    app = application.TensorBoardWSGIApp(
  File "D:\Anaconda3\lib\site-packages\tensorboard\backend\application.py", line 140, in TensorBoardWSGIApp
    return TensorBoardWSGI(
  File "D:\Anaconda3\lib\site-packages\tensorboard\backend\application.py", line 253, in __init__
    raise ValueError(
ValueError: Duplicate plugins for name projector

解决方法:

pip uninstall tb-nightly tensorboard tensorflow tensorflow-estimator

pip install tensorflow

就行了
然后又把命令改为绝对路径
tensorboard --logdir=D:\360jisu\semseg-master\semseg-master\exp\ade20k

(base) C:\Users\Administrator>tensorboard --logdir=D:\360jisu\semseg-master\semseg-master\exp\ade20k
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.11.0 at http://localhost:6006/ (Press CTRL+C to quit)

复制这个网址去打开
有结果了!
成功解决ValueError: Duplicate plugins for name projector_第1张图片
成功解决ValueError: Duplicate plugins for name projector_第2张图片
接续上一篇的内容,100个epoch跑完了,顺便给自己放了个假,分析总结一下图表和参数,下周组会汇报。笑哭.jpg

你可能感兴趣的:(python,深度学习)