Launching TensorBoard from a notebook

Hi,
I tried to launch TensorBoard from a Python notebook by doing

%load_ext tensorboard
%tensorboard --logdir=./my_logs --port=6006

but I just get a big empty cell with the message “swan005.cern.ch took too long to respond”.

Is this normal?

Thanks,
Andrea

Hello,

Since tensorboard is listening on a port that is not open in your session, that unfortunately can’t work.

There was a discussion about this topic here:

It seems there is a JLab extension we could use that would act as a proxy for tensorboard, but this is not yet in production.