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
doesn’t work with %tensorflow_version 1.x
(duplicate plugins for name whatif)
#3460
Comments
If i run it without the above command, i get this error:
This is because of the new package You can run the following command to find all tensorboard packages installed in the Colab environment:
|
Hi @MeghnaNatraj! I can reproduce this error by running %tensorflow_version 1.x
%load_ext tensorboard
%tensorboard --logdir logs in a blank notebook with a fresh Colab runtime. Could you please point us to an example notebook that runs into this It looks like the problem is that |
%tensorboard
doesn’t work with %tensorflow_version 1.x
(duplicate plugins for name whatif)
Actually, the simplest fix would be to update the notebooks in question |
The notebook I'm referring to is this one: Let me know if you face an issue as well. The issue is that we need to use What do you suggest I do? Use this workaround until we move to TF2.x? |
Okay, it looks like that notebook has a lot of custom setup rather than
Given that this custom setup is already required, it seems reasonable to (FWIW, I can’t actually reproduce this error there; instead, I see an |
@wchargin I haven't checked in my updates yet, but replace the cell you've pasted above, i.e, get rid of all those uninstall/install commands with the following code: Currently, only this code snippet works in order to use TF1.x:
If there can be a fix, it can help other users too! i had faced this issue before as well. But if not, i can use the workaround as well. |
Ah, I understand now; thanks. Yes, it would definitely be nice if this I’ll solicit opinions from the rest of the TensorBoard team to see what |
See tensorboard-plugin-wit mitigation in PAIR-code/what-if-tool#64 |
tensorboard_plugin_wit-1.6.0.post3 has been uploaded to PyPi and includes a workaround for this issue. |
@jameswex: Thank you for the quick fix and release! Confirmed that this I’ll ask the Colab team to update the base image so that it works by |
Thank you so much for the fix! Is there an ETA on when |
I am still facing this issue. Click here
I tried to run it produced the output:
But, tensorboard is still throwing the error. How to fix or workaround this issue? |
@MeghnaNatraj: This should roll out in the next few days. (The change @arya46: You almost got it :-) |
@wchargin Thank you for pointing out my mistake. Yes, it did solve the issue. |
@wchargin thank you so much for the update! :) |
@wchargin That did it for me as well, after days of suffering ;) |
@jandevries123: It’s an issue due to how the
This works fine as long as all you care about is changing the versions The |
Summary: Issues like #3460, #3481, and #3592 are all caused by an incompatibility between certain versions of TensorBoard and the standalone What-If Tool. This patch adds a check to the diagnosis script to warn accordingly. Test Plan: Install `tensorflow==2.1.0 tensorboard-plugin-wit==1.6.0.post2` into a new virtualenv, and note that TensorBoard fails to start. Then run the diagnosis script and note that it prints a suggestion with a command that, when executed, solves the problem. wchargin-branch: diagnose-broken-wit
Summary: Issues like #3460, #3481, and #3592 are all caused by an incompatibility between certain versions of TensorBoard and the standalone What-If Tool. This patch adds a check to the diagnosis script to warn accordingly. Test Plan: Install `tensorflow==2.1.0 tensorboard-plugin-wit==1.6.0.post2` into a new virtualenv, and note that TensorBoard fails to start. Then run the diagnosis script and note that it prints a suggestion with a command that, when executed, solves the problem. wchargin-branch: diagnose-broken-wit
Summary: Issues like tensorflow#3460, tensorflow#3481, and tensorflow#3592 are all caused by an incompatibility between certain versions of TensorBoard and the standalone What-If Tool. This patch adds a check to the diagnosis script to warn accordingly. Test Plan: Install `tensorflow==2.1.0 tensorboard-plugin-wit==1.6.0.post2` into a new virtualenv, and note that TensorBoard fails to start. Then run the diagnosis script and note that it prints a suggestion with a command that, when executed, solves the problem. wchargin-branch: diagnose-broken-wit
Summary: Issues like #3460, #3481, and #3592 are all caused by an incompatibility between certain versions of TensorBoard and the standalone What-If Tool. This patch adds a check to the diagnosis script to warn accordingly. Test Plan: Install `tensorflow==2.1.0 tensorboard-plugin-wit==1.6.0.post2` into a new virtualenv, and note that TensorBoard fails to start. Then run the diagnosis script and note that it prints a suggestion with a command that, when executed, solves the problem. wchargin-branch: diagnose-broken-wit
Hi wchargin, I try to install and reinstall tensorflow==1.15.
I am using Python 3.8 |
Every few months, the colab tutorials released by my team seem to break due to updates made to the Colab environment. The reason is due to multiple tensorboard versions being installed.
As a result of this, I run the following code snippet before running TensorBoard each time:
Seems like many users also face this issue often:
pytorch/pytorch#22676
Not sure if this is a Colab or a Tensorboard issue, but I'm posting it here.
The text was updated successfully, but these errors were encountered: