lspvic / jupyter_tensorboard

Start Tensorboard in Jupyter Notebook
MIT License
460 stars 81 forks source link

Tensorboard wont work #79

Open Armanasq opened 2 years ago

Armanasq commented 2 years ago

I am trying to open the tensorbard via jupyter notebook, but I see this error in terminal

[E 23:35:12.205 NotebookApp] Uncaught exception POST /api/tensorboard (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/api/tensorboard', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/disk/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 1697, in _execute result = method(*self.path_args, *self.path_kwargs) File "/disk/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 3174, in wrapper return method(self, args, *kwargs) File "/disk/anaconda3/lib/python3.7/site-packages/jupyter_tensorboard/api_handlers.py", line 40, in post .new_instance(data["logdir"], reload_interval=reload_interval) File "/disk/anaconda3/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 221, in new_instance purge_orphaned_data=purge_orphaned_data) File "/disk/anaconda3/lib/python3.7/site-packages/jupyter_tensorboard/tensorboard_manager.py", line 44, in create_tb_app return application.standard_tensorboard_wsgi( AttributeError: module 'tensorboard.backend.application' has no attribute 'standard_tensorboard_wsgi' [W 23:35:12.205 NotebookApp] Unhandled error [E 23:35:12.206 NotebookApp] { "Host": "localhost:8888", "User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0", "Accept": "application/json, text/javascript, /*; q=0.01", "Accept-Language": "en-US,en;q=0.5", "Accept-Encoding": "gzip, deflate, br", "Content-Type": "application/json", "X-Xsrftoken": "2|202d303b|7c059392c00dafbd92d1a1c3061442f3|1658150231", "X-Requested-With": "XMLHttpRequest", "Content-Length": "13", "Origin": "http://localhost:8888", "Connection": "keep-alive", "Referer": "http://localhost:8888/tree", "Cookie": "username-localhost-8888=\"2|1:0|10:1660676696|23:username-localhost-8888|44:OWIwOGEzMGQwZTE4NDNkY2E2ZGNiOGEwMjc2MmU2MzM=|7cc1b69a601eebef12f24caa836c671d17a8bb4bf2e2d300afc5fde2fbfe1b37\"; _xsrf=2|202d303b|7c059392c00dafbd92d1a1c3061442f3|1658150231; username-localhost-8889=\"2|1:0|10:1660653728|23:username-localhost-8889|44:MDVmZTg5MDBmZTJmNDRiMmFlMGU0OGVlMWYzMGQzZjE=|2835fedc52a21f4bfc005edc1e7c3c119485ef60fd72c8e905ad1af036961cf0\"; mp_1480b2244fdd4d821227a29e2637f922_mixpanel=%7B%22distinct_id%22%3A%20%22A.Asgharpoor%40ut.ac.ir%22%2C%22%24device_id%22%3A%20%221829a69b5052b3-003d32047e4837-97c2735-1fa400-1829a69b50640c%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mps%22%3A%20%7B%7D%2C%22mpso%22%3A%20%7B%7D%2C%22mpus%22%3A%20%7B%7D%2C%22mpa%22%3A%20%7B%7D%2C%22mpu%22%3A%20%7B%7D%2C%22mpr%22%3A%20%5B%5D%2C%22__mpap%22%3A%20%5B%5D%2C%22%24user_id%22%3A%20%22A.Asgharpoor%40ut.ac.ir%22%7D; _ga=GA1.1.369616731.1660447995; username-localhost-8890=\"2|1:0|10:1660630937|23:username-localhost-8890|44:ZmY4NmYxN2JiODZiNGE5YTgyM2Q3N2EyNjUyNDAzMDI=|73a6ff7ae2e9f1268bb03219b2a3cf98d6fa63a866a06d8caf0b2d2822a32e90\"", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin"