Comments (9)
Hi all, FYI the original issue here is fixed up in our 21.02 version of NVIDIA containers due to be released very soon -- the fixes needed were in jupyter-tensorboard (see lspvic/jupyter_tensorboard#63 ), not jupyterlab-tensorboard per se.
from jupyterlab_tensorboard.
Hey @dmitrysarov ,
I think I know you from somewhere else (laughs). Maybe from pytorch_scatter?
I had the same problem as you using nvcr.io/nvidia/pytorch:20.12-py3
.
The problem appears from tensorboard == 2.3 as reported by @NanoCode012 in #25.
Below I leave an example of how you can solve this:
# INSTALL JUPYTERLAB
# Keep compatibility with jupyterlab_tensorboard
# jupyterlab==2.2.9
# tensorboard==2.2.1
# https://github.com/chaoleili/jupyterlab_tensorboard/issues/25
pip install --no-cache-dir --upgrade \
pip \
jupyterlab==2.2.9 \
jupyterlab_widgets \
ipywidgets
# Remove NVIDIA Tensorboard
pip uninstall --no-cache-dir --yes \
tensorboard nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
pip install --no-cache-dir --upgrade \
tensorboard==2.2.1 \
tensorboard_plugin_profile \
jupyter-tensorboard==0.2.0
jupyter notebook --generate-config
jupyter labextension uninstall jupyterlab_tensorboard --no-build
jupyter labextension install jupyterlab_tensorboard --no-build
jupyter lab clean
jupyter lab build
jupyter labextension list
from jupyterlab_tensorboard.
@mgomesborges once again thanks for answering =)
It strange because pip list
shows me tensorboard==1.15.0
inside container
I add your solution to the bottom of the Dockerfile
RUN pip install --no-cache-dir --upgrade \
pip \
jupyterlab==2.2.9 \
jupyterlab_widgets \
ipywidgets
# Remove NVIDIA Tensorboard
RUN pip uninstall --no-cache-dir --yes \
tensorboard nvidia-tensorboard nvidia-tensorboard-plugin-dlprof && \
pip install --no-cache-dir --upgrade \
tensorboard==2.2.1 \
tensorboard_plugin_profile \
jupyter-tensorboard==0.2.0 && \
jupyter notebook --generate-config -y && \
conda install nodejs && \
jupyter labextension uninstall jupyterlab_tensorboard --no-build && \
jupyter labextension install jupyterlab_tensorboard --no-build && \
jupyter lab clean && \
jupyter lab build
Now, it probably another issue, but I get the following ( like TB can not see anything in the folder, but there are valid log files)
from jupyterlab_tensorboard.
I don't think @chaoleili will be happy that we use this space that way, but here we go:
-
About the error message, you need to provide information about the commands you are using, so we will know what is wrong.
-
If you want to improve your Dockerfile, here are some tips:
# Dockerfile TEMPLATE
FROM nvcr.io/nvidia/pytorch:20.12-py3
# Node Version Manager
ENV NVM_DIR=/usr/local/nvm
# CREATE A NEW DOCKER IMAGE
ENV DEBIAN_FRONTEND noninteractive
RUN echo "Welcome to the World baby!"\
# INSTALL NODE
#----------------------------------------------------------
&& source ${NVM_DIR}/nvm.sh \
# INSTALL JUPYTERLAB
#----------------------------------------------------------
# INSTALL JUPYTERLAB
# Keep compatibility with jupyterlab_tensorboard
# jupyterlab==2.2.9
# tensorboard==2.2.1
# https://github.com/chaoleili/jupyterlab_tensorboard/issues/25
&& pip install --no-cache-dir --upgrade \
pip \
jupyterlab==2.2.9 \
jupyterlab_widgets \
ipywidgets \
# Remove NVIDIA Tensorboard
&& pip uninstall --no-cache-dir --yes \
tensorboard nvidia-tensorboard nvidia-tensorboard-plugin-dlprof \
# Install Tensorboard
&& pip install --no-cache-dir --upgrade \
tensorboard==2.2.1 \
tensorboard_plugin_profile \
jupyter-tensorboard==0.2.0 \
&& jupyter notebook --generate-config \
# Install JupyterLab extension
&& jupyter labextension uninstall jupyterlab_tensorboard --no-build \
&& jupyter labextension install jupyterlab_tensorboard --no-build \
&& jupyter lab clean \
&& jupyter lab build \
&& jupyter labextension list
from jupyterlab_tensorboard.
I literally grab your Dockerfile and launch, TL DR no success
Console output
from jupyterlab_tensorboard.
@dmitrysarov it seems to me that you have a problem with your internet network or maybe proxy.
If you know your proxy's address try something like this:
# Dockerfile TEMPLATE
FROM nvcr.io/nvidia/pytorch:20.12-py3
# PROXY
ENV http_proxy="HTTP://PROXY_ADDRESS_HERE"
ENV https_proxy="HTTP://PROXY_ADDRESS_HERE"
ENV ftp_proxy="HTTP://PROXY_ADDRESS_HERE"
. . .
from jupyterlab_tensorboard.
@dmitrysarov could you give us a feedback, so we can close this issue!
from jupyterlab_tensorboard.
No success. I tried your Dockerfile on several machines same error message in the console
So the reason is not proxy.
It looks like a mystery to me.
Can you confirm that you check it and it has worked?
from jupyterlab_tensorboard.
Hey @dmitrysarov, I am sorry to hear that.
YES, my script works fine for me either with or without proxy!
As you said, you tested it on different machines and the problem is repeated. Make sure it is something related to your internet connection or some access block.
@chaoleili could you close this request?
from jupyterlab_tensorboard.
Related Issues (20)
- Couple of UI Inconsistencies HOT 9
- Cannot Load Tensorboard behind AWS ALB
- Tensorboard 2.0 error HOT 5
- Launcher Error Invalid response: 500 Internal Server Error HOT 6
- 404 from launcher HOT 2
- Suggestion: An icon for Tensorboard
- Jupyterlab 2.0 support HOT 2
- problem: Launcher Error Invalid response: 404 Not Found HOT 12
- docker HOT 1
- [Solution] 500 Internal Server Error due to tensorboard update HOT 9
- Cannot download any data such as chart, json, csv
- Open new tensorboard with specified logdir via command line
- Not support jupyterlab 3.X HOT 23
- How to isntall Temsorboard extension to Jupyter Lab on AWS EC2?
- Need help to debug Invalid response: 404 not found error HOT 1
- problem: 'NoneType' object has no attribute 'config_file_paths'
- problem: ERROR: No matching distribution found for jupyterlab_tensorboard HOT 3
- Building from jupyter/* containers generates error when running apt update HOT 1
- The tensorboard is completely empty HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab_tensorboard.