hanisalah
hanisalah

Reputation: 17

Cannot start tensorboard in Jupyter Notebook

I am trying to start tensorboard in Jupyter Notebook:

%load_ext tensorboard
%tensorboard --logdir runs

But I get the following error:

ERROR: Timed out waiting for TensorBoard to start. It may still be running as pid 28048.

I can start tensorboard from console, but can't get it through Jupyter Notebook. I am installing only tensorboard (no tensorflow) and it is installed in my base environment. I am using Windows 10 x64.

Upvotes: 1

Views: 1323

Answers (2)

Loseefr Bappy
Loseefr Bappy

Reputation: 1

@epsilonG thank you so much, it worked, actually the issue is Jupyternotebook shows that it uses ipython karnel where tensorboard is not supported, I have tried to run it multiple time then it showed tensorboard is not for ipython karnel, after installing tb-nightly, I have runned,

%load_ext tensorboard %tensorboard --logdir '/home/bappy/Desktop/Jupyter_notebook/snla_local_training/model'

then it worked fine.

Upvotes: 0

epsilonG
epsilonG

Reputation: 36

May try the following if other methods don't work:

pip install -U tb-nightly

Upvotes: 1

Related Questions