Launching TensorBoard from a notebook

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 “ took too long to respond”.

Is this normal?



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.