HFAiLab / jupyterlab_tensorboard_pro

Tensorboard extension for Jupyterlab all in one
MIT License
88 stars 6 forks source link

I installed tensorboard_pro, but the page cannot be displayed normally in jupyter lab #17

Open xudamao2015 opened 1 year ago

xudamao2015 commented 1 year ago

When I click [create TensorBoard] button in jupyter lab, the tensorboard page cannot be displayed normally.

I also tried other version such as tensorflow 2.12, jupyterlab 3.2.8. It also doesn't work. Python version is 3.8.12

------ installed packages -------- jupyterlab-tensorboard-pro 0.7.0 tensorboard 2.13.0 tensorflow 2.13.0rc0 jupyterlab 3.6.1

image

I started jupyter lab using --debug option, there are no error in log.

image

When I started tensorboard using 'tensorboard --logdir . --bind_all', the page could be rendered normally.

YojoNick commented 1 year ago

I have this same issue with the following: ------ installed packages -------- jupyterlab-tensorboard-pro 0.7.0 tensorboard 2.10.0 tensorflow 2.10.0 jupyterlab 3.0.16 python3.8

aircloud commented 1 year ago

收到你的问题,我今天晚些时候尝试复现一下

xudamao2015 commented 1 year ago

感谢

xudamao2015 commented 1 year ago

已定位问题原因。 是tornado版本问题,需要回退到6.2,我之前有问题的版本是6.3.2

aircloud commented 1 year ago

tornado 6.3+ 是近期新发的版本,这里可能存在兼容问题,后续我进一步跟进下。

electroram commented 1 year ago

image 我安装了插件之后一直在initializing 我的环境是 python:3.7 TensorFlow-gpu=2.3.1 IPython : 8.13.2 ipykernel : 6.23.0 ipywidgets : 8.0.6 jupyter_client : 8.2.0 jupyter_core : 5.3.0 jupyter_server : 2.5.0 jupyterlab : 3.6.3 nbclient : 0.7.4 nbconvert : 7.4.0 nbformat : 5.8.0 notebook : 6.5.4 qtconsole : 5.4.3 traitlets : 5.9.0

aircloud commented 1 year ago

tornado 6.3 之后的异步写法发生了变化,我在这个分支完成了适配:https://github.com/HFAiLab/jupyterlab_tensorboard_pro/tree/feat/tornado_6.3

后续还需要进行一点测试再发布正式版本,暂时先对当前版本的插件依赖的 tornado 加了 6.2 的约束。