chesterli29 / jupyterlab_tensorboard

Tensorboard extension for jupyterlab.
MIT License
315 stars 36 forks source link

Launcher Error #5

Open XinDongol opened 6 years ago

XinDongol commented 6 years ago

Got a lunch error

image

Try to lunch with specific logdir, even I use '/home', still return Directory not found.

image

If you need further details to debug, please comment.

Thanks a lot.

chesterli29 commented 6 years ago

Hi @XinDongol, Sorry for reply late. this error may be caused by not installing jupyter_tensorboard. If you have already installed jupyter_tensorboard and this issue still exists. please show me your jupyterlab error log.

keicoon commented 6 years ago

Hi! @chaoleili I resolved error that message invalid response: 404 by install jupyter_tensorboard. But, I can't understand error showed Cannot create tensorboard, Directory not found. This error be resolved by set my_log_dir_path first and default_log_dir_path one more time:(

vBLFTePebWNi6c commented 5 years ago

@keicoon After some workarounds I found that path to tensorboard logdir should be relative to the jupyterlab's root directory. @chaoleili It would be nice if you'll write about it explicitly in README.md or somehow make path to tensorboard logdir absolute.

chesterli29 commented 5 years ago

@vBLFTePebWNi6c Thanks for your advise! I have updated README.md

dasing commented 5 years ago

Sorry, I have already installed jupyter_tensorboard but still got Launcher error. The log message is "[W 16:40:27.510 LabApp] 404 GET /api/tensorboard?1546620027748 (10.1.1.121) 29.83ms"

Can you help me? Thank you!

chesterli29 commented 5 years ago

@dasing sorry for replying late, please check tensorflow >= 1.3 is installed. more info https://github.com/lspvic/jupyter_tensorboard#installation

joequant commented 5 years ago

Already installed jupyter_tensorboard

Can you let me know what log files I should look at?

chesterli29 commented 5 years ago

What's your tensorboard version? if the tensorboard version >= 1.12 please ensure jupyter_tensorboard is update to 0.1.9.

joequant commented 5 years ago

Im using the nightly version of tensorflow.

在 2019年2月4日週一 下午1:05,Chester Li <notifications@github.com 寫道:

What's your tensorboard version? if the tensorboard version >= 1.12 please ensure jupyter_tensorboard is update to 0.1.9 https://github.com/lspvic/jupyter_tensorboard/issues/37#issuecomment-459994332 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chaoleili/jupyterlab_tensorboard/issues/5#issuecomment-460132259, or mute the thread https://github.com/notifications/unsubscribe-auth/ACxgGUPourP5EJCuoTFU6WOVZn5NvUz2ks5vJ7-dgaJpZM4XNjUD .

joequant commented 5 years ago

Got it to work. I think there was just a nightly glitch.

saravanabalagi commented 5 years ago

I still have this problem:

pip list | grep tensor
jupyter-tensorboard               0.1.9                 
tensorboard                       1.13.0                
tensorflow-estimator              1.13.0                
tensorflow-gpu                    1.13.1             

But I get when I open jupyterlab, in the browser image

and the Jupyter log

[W 15:53:11.983 LabApp] 404 GET /api/tensorboard?1556034791980 (127.0.0.1) 1.06ms referer=http://localhost:8889/lab?
[W 15:53:11.997 LabApp] 404 POST /git/all_history?1556034791994 (127.0.0.1) 1.40ms referer=http://localhost:8889/lab?
[I 15:53:12.021 LabApp] Node v11.14.0

[I 15:53:12.356 LabApp] Build is up to date
[W 15:53:21.999 LabApp] 404 GET /api/tensorboard?1556034801981 (127.0.0.1) 3.85ms referer=http://localhost:8889/lab?
[W 15:53:31.991 LabApp] 404 GET /api/tensorboard?1556034811981 (127.0.0.1) 3.92ms referer=http://localhost:8889/lab?
[W 15:53:41.989 LabApp] 404 GET /api/tensorboard?1556034821981 (127.0.0.1) 1.91ms referer=http://localhost:8889/lab?

and when I click Tensorboard Button:

image

shimk52 commented 5 years ago

Any news on this? I'm encountering the 404 error

This happens on my local machine, with JupyterLab & Jupyter_tensorboard installed as written in README

letusfly85 commented 5 years ago

I also have similar troubles, and I fixed by seeing the following issue.

https://github.com/lspvic/jupyter_tensorboard/issues/47

shimk52 commented 5 years ago

Running: jupyter tensorboard enable --user

worked for me

efengx commented 4 years ago

problem: error

I also have similar troubles, Related information is as follows:

root@fx-nb-1-0:/home/jovyan# pip list | grep tensorflow
tensorflow                        2.1.0               
tensorflow-data-validation        0.15.0              
tensorflow-datasets               2.1.0               
tensorflow-estimator              2.1.0               
tensorflow-gpu                    2.0.0rc0            
tensorflow-hub                    0.7.0               
tensorflow-metadata               0.15.2              
tensorflow-model-analysis         0.15.4              
tensorflow-serving-api            2.1.0               
tensorflow-transform              0.15.0
root@fx-nb-1-0:/home/jovyan# pip list | grep jupyter
jupyter                           1.0.0               
jupyter-client                    5.3.1               
jupyter-console                   6.0.0               
jupyter-contrib-core              0.3.3               
jupyter-contrib-nbextensions      0.5.1               
jupyter-core                      4.5.0               
jupyter-highlight-selected-word   0.2.0               
jupyter-http-over-ws              0.0.6               
jupyter-latex-envs                1.4.6               
jupyter-nbextensions-configurator 0.4.1               
jupyter-tensorboard               0.2.0               
jupyterlab                        1.1.4               
jupyterlab-latex                  1.0.0               
jupyterlab-server                 1.0.6 
root@fx-nb-1-0:/home/jovyan# pip list | grep tensorboard
jupyter-tensorboard               0.2.0               
tensorboard                       2.1.1
root@fx-nb-1-0:/home/jovyan# jupyter labextension list
JupyterLab v1.1.4
Known labextensions:
   app dir: /usr/local/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v1.0.3  enabled  OK
        @jupyterlab/latex v1.0.0  enabled  OK
        @jupyterlab/plotly-extension v1.0.0  enabled  OK
        @jupyterlab/toc v2.0.0  enabled  OK
        @mflevine/jupyterlab_html v0.1.4  enabled  OK
        @ryantam626/jupyterlab_code_formatter v1.1.0  enabled  OK
        jupyterlab-drawio v0.6.0  enabled  OK
        jupyterlab_tensorboard v0.1.6  enabled  OK
        qgrid v1.1.1  enabled  OK
root@fx-nb-1-0:/home/jovyan# jupyter serverextension list
config dir: /root/.jupyter
    jupyter_http_over_ws  enabled 
    - Validating...
      jupyter_http_over_ws 0.0.6 OK
    jupyter_tensorboard  enabled 
    - Validating...
      jupyter_tensorboard 0.2.0 OK
config dir: /usr/etc/jupyter
    jupyter_tensorboard  enabled 
    - Validating...
      jupyter_tensorboard 0.2.0 OK
config dir: /usr/local/etc/jupyter
    jupyterlab  enabled 
    - Validating...
      jupyterlab 1.1.4 OK
    jupyterlab_latex  enabled 
    - Validating...
      jupyterlab_latex 1.0.0 OK
    jupyter_nbextensions_configurator  enabled 
    - Validating...
      jupyter_nbextensions_configurator 0.4.1 OK