gpt4 book ai didi

python - 值错误: Duplicate plugins for name projector

转载 作者:行者123 更新时间:2023-12-02 16:09:43 39 4
gpt4 key购买 nike

运行tensorboard --logdir log_dir我收到错误:

Traceback (most recent call last):
File "/home/user/.local/bin/tensorboard", line 11, in <module>
sys.exit(run_main())
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/main.py", line 64, in run_main
app.run(tensorboard.main, flags_parser=tensorboard.configure)
File "/home/user/.local/lib/python3.6/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/user/.local/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/program.py", line 228, in main
server = self._make_server()
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/program.py", line 309, in _make_server
self.assets_zip_provider)
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 161, in standard_tensorboard_wsgi
reload_task)
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 194, in TensorBoardWSGIApp
return TensorBoardWSGI(plugins, path_prefix)
File "/home/user/.local/lib/python3.6/site-packages/tensorboard/backend/application.py", line 245, in __init__
raise ValueError('Duplicate plugins for name %s' % plugin.plugin_name)
ValueError: Duplicate plugins for name projector

导致此问题的原因是什么?

最佳答案

如果您的系统中安装了两个版本的tensorboard,则需要卸载其中一个。

我被这个问题困扰了几个小时,但我最终使用以下方法修复了它:

效果非常好: https://github.com/pytorch/pytorch/issues/22676

pip uninstall tb-nightly tensorboardX tensorboard
pip install tensorboard

关于python - 值错误: Duplicate plugins for name projector,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57228487/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com