New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensorboard: ValueError: Duplicate plugins for name projector #22676
Comments
This sounds like a misconfiguration issue with tensorboard. @lanpa do you know if this is a PyTorch bug or not? |
I have the same issue: being able to import from the latest version of pytorch and tensorboardX but both give the same error above |
This issue is caused by tb-nightly, and tb-nightly is difficult to uninstall. |
@LU4E what do you mean , uninstall tb-nightly and install tensorflow、tensorbard、tensorboardx ? then the issue will gone ? |
@Biaocsu Yes. I first try uninstall the tb-nightly many times but it still there. I don't know why. |
@LU4E it does not suitable for me, I can successfully uninstall tb-nightly. and yes I am really using another environment to use tensorboard |
@Biaocsu I have encountered the same issue but solved by uninstalling tensorboard. Maybe remaining tensorboard is bad. |
@YosukeSugiura thanks for your advice, but I tried and it does no effect |
@Biaocsu, I also met the problem but I fixed it. My method is:
I think this error means that you have two tensorboards installed so the plugin will be duplicated. Another method would be helpful that is to reinstall the python environment using conda. Hope to help you. |
@ElegantLin thanks |
Same issue, and thanks for @elad663 's solution. |
Upgrading priority as this issue seems to be affecting many people |
@ezyang I think @ElegantLin has provided the solution. The root cause is tensorboard version conflict. |
OK, in that case we can close this issue. |
This suggestion generated by @ElegantLin 's script fixed my problem. Thanks~ |
I experienced the same issue, and uninstalling and reinstalling tensorboard and tensorflow didn't help. In my case, I had a ghost copy of tensorboard 2.0.0 that had apparently not been uninstalled completely. It appeared in pip as "-ensorboard". Deleting the corresponding dist-info folder in my python environment fixed the problem. |
Someone ats(@) me. I always used conda to manage my Python environment. So if I met the problem that I could not uninstall it successfully, I would delete the environment and restart a new one. I hope this helps. |
I had this issue in colab. Resolved by uninstalling the current
|
I have tensorflow 1.14 for python2 and tensorflow 2.0 for python3, this scrip doesn't have any actions suggestions. Does it mean that my enviroment of tensorflow has no problem? here is the diagnose log: DiagnosticsDiagnostics output
Next stepsNo action items identified. Please copy ALL of the above output, |
Run the following code if it shows two
|
how do you selectively remove one version of tensorboard |
Next stepsNo action items identified. Please copy ALL of the above output, |
I solved my problem. Thanks a lot! |
I fix the issue by following steps:
|
I will throw my $0.02 in and remind you to also If you're running in a windows environment! |
Hello, I had the same problem today, and I fixed with the following simple steps: |
After running this code, I got the output below:
Does it mean I have two tensorboard installed? |
Solved! |
I was also thinking the same, if some error pops up, however, none faced so far... |
in my case, i uninstalled tensorboard-plugin-wit, and it works. |
It worked it to me as well. Thank you! |
Summing up for latecomers, personally I have met all these errors myself by upgrading and downgrading tensorflow and tensorboard. Symptom 1
|
Worked for me as well, had this issue under Colab |
The following solution ALWAYS works for me irrespective of the updates made to tensorboard (eg: The new package Add the following code snippet in every colab tutorial before you load tensorboard.
|
VOCE É UM MONSTRO, UM DEUS O MAIS FODA DE TODOS DENTRO DOS OS PROGRAMADORES |
same problem |
my case Run the following code if it shows two tensorboard installed on your system remove one. import pkg_resources for entry_point in pkg_resources.iter_entry_points('tensorboard_plugins'):
result > you should direcretly delete folder; delete -rf ~-_nightly-2.5.0a20201223.dist-info |
Seeing same error in YOLOv5 docker image in issue ultralytics/yolov5#2573 |
Maybe it works.
Note: pip can be replaced by conda. And it works! Additionally, remote access to Tensorboard: |
Thank you for the diagnostic script. Although I have tensorboard 2.7.0 and tensorflow 2.7.0 installed (I am using pycharm) in a virtual env, the output of the script says these packages are not installed. DiagnosticsDiagnostics output
Next stepsNote: no suggestions were provided on how to fix it. any suggestion would be helpful. ( I tried all of the above solutions, to no avail.) |
Thanks a lot, the problem was resolved successfully! ;) @ElegantLin |
i resolved by uninstalling tensorboard ,tensorboard-data-server ,tensorboard-plugin-wit , tb-nightly |
I had a strange package installed in my libs named "~ensorboard" and "~ensorboard-2.12.0.dist-info" |
Thanks a lot. |
Following command works to me
|
Hi, in my case, for some reason when ,in my conda environment, I ran "tensorboard --logdir=runs" I got the same error, because it was using my base environment. I used "/path/to/my/conda/env/bin/tensorboard --logdir=path/to/my/logs" instead and the issue was resolved. |
I follow the introduction and happened to this error.
cuda
10
, cudnn7
, install pytorch by pip.however, when I check by
, it is all right.
but when I use
The text was updated successfully, but these errors were encountered: