Tensorboard not found as magic function in jupyter Tensorboard not found as magic function in jupyter python python

Tensorboard not found as magic function in jupyter


UPDATE

For newer TF versions (tensorflow>=1.14.0 & tensorflow != 2.0.0a0 - newer than TF2.0-alpha) load the extension like this

%load_ext tensorboard

OLD ANSWER

The extension needs to be loaded first:

%load_ext tensorboard.notebook%tensorboard --logdir {logs_base_dir}


If you are using TF 2.0 you can execute the code below from your notebook environment, prior to your magic command:

%load_ext tensorboard


Year 2020

I needed to pip uninstall both tensorflow and tensorboard

Then install tf-nightly

In order to get this to work

%load_ext tensorboard.notebook%tensorboard --logdir {logs_base_dir}