Skip to content
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

Getting Jupyter tensorboard extension error when using TF 2.3.0 #69

Open
ebaranas opened this issue Nov 3, 2020 · 3 comments
Open

Getting Jupyter tensorboard extension error when using TF 2.3.0 #69

ebaranas opened this issue Nov 3, 2020 · 3 comments

Comments

@ebaranas
Copy link

ebaranas commented Nov 3, 2020

I'm building from this Dockerfile:

FROM jupyter/tensorflow-notebook
RUN python -m pip install jupyter-tensorboard==0.2.0

which uses TF 2.3.0. However, as soon as I create a tensorboard instance, I get this:

AttributeError: module 'tensorboard.backend.application' has no attribute 'standard_tensorboard_wsgi'

This does not happen when using TF <= 2.1.0.

@ikhoury
Copy link

ikhoury commented Nov 26, 2020

Same issue currently happening in a fresh JupyterHub workspace with the latest TF:

Nov 26 15:16:57 jupyter-test bash[31997]:     Traceback (most recent call last):
Nov 26 15:16:57 jupyter-test bash[31997]:       File "/opt/tljh/user/lib/python3.7/site-packages/tornado/web.py", line 1590, in _execute
Nov 26 15:16:57 jupyter-test bash[31997]:         result = method(*self.path_args, **self.path_kwargs)
Nov 26 15:16:57 jupyter-test bash[31997]:       File "/opt/tljh/user/lib/python3.7/site-packages/tornado/web.py", line 3006, in wrapper
Nov 26 15:16:57 jupyter-test bash[31997]:         return method(self, *args, **kwargs)
Nov 26 15:16:57 jupyter-test bash[31997]:       File "/opt/tljh/user/lib/python3.7/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post
Nov 26 15:16:57 jupyter-test bash[31997]:         .new_instance(data["logdir"], reload_interval=reload_interval)
Nov 26 15:16:57 jupyter-test bash[31997]:       File "/opt/tljh/user/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 221, in new_instance
Nov 26 15:16:57 jupyter-test bash[31997]:         purge_orphaned_data=purge_orphaned_data)
Nov 26 15:16:57 jupyter-test bash[31997]:       File "/opt/tljh/user/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 44, in create_tb_app
Nov 26 15:16:57 jupyter-test bash[31997]:         return application.standard_tensorboard_wsgi(
Nov 26 15:16:57 jupyter-test bash[31997]:     AttributeError: module 'tensorboard.backend.application' has no attribute 'standard_tensorboard_wsgi'

@drykovanov
Copy link

standard_tensorboard_wsgi was removed in
tensorflow/tensorboard@61df080#diff-df834434b565cfafae02a1efaeed16893808d3b572c017a3b42ddece3e1c745c on May 19, 2020.

I believe latest working version is tensorboard 2.2.2.

@cliffwoolley
Copy link

If you want to use TB 2.3 or later, can you please try with #63 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants