Running tensorboard --logdir log_dir
I get an error:
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
What can be a reason of this problem?
I got same error, when I had two versions of tensorboard. In my Tensorflow 2.0 environmnet, except core Tensorflow lib, I could see other libs where installed from TF 1.14 version.
Do a
pip list
and see what versions of tensorflow libs are there. In my system I hadHere is what I did:
Run the following code if it shows two
tensorboard
installed on your system remove one.If you have two versions of tensorboard installed in your system,you need to uninstall one of them.
I was stuck this for hours but I finally fixed it using:
Worked like a charm: https://github.com/pytorch/pytorch/issues/22676
I ran into the same issue after installing tensorflow==2.0.0-rc2. Uninstalling tensorboard did not help.
The culprit in my case was tb-nightly package:
After removing the package and reinstalling teinstalling tensorflow, tensorboard started to work properly.