Package: jupyter-tensorboard
Tensorboard Integration for Jupyter Notebook.A jupyter server extension for better collaboration between jupyter notebook and tensorboard (a visualization tool for tensorflow), providing graphical user interface for tensorboard start, manage and stop in jupyter interface. It provides:No need to type tensorboard and the long log path in command line.No need extra port for serve tensorboard. This is helpful for remote jupyter servers.Multiple tensorboard instance managing simultaneously.InstallationBe sure that tensorflow(-gpu)>=1.3.0 has been installed. If not, you should install or upgrade your tensorflow>=1.3.0 first, and tensorboard is a dependency of tensorflow so that it is automatically installed. This package does not have a tensorflow dependency because there are several distributions of tensorflow, for example, tensorflow and tensorflow-gpu. Any way, you must be sure you have tensorflow(-gpu) installed before install this package.Install the pip package. The python version must be the same as Jupyter: if you start jupyter notebook in python3,pip3may be used to install the packagepip(3) installjupyter-tensorboardNOTE:The python version is important, you must be sure that yourjupyter,jupyter_tensorboard,tensorflowhave the same python version. If your tensorflow python and jupyter python versions are different, e.g., use tensorflow in py2 but jupyter starts in py3, both versions of tensorflow(py2 and py3) should be installed, and jupyter_tensorboard should install to py3, in accordance with jupyter.Restart the jupyter notebook server.Use jupyter-tensorboard in docker containersDocker image forJupyter Notebook Scientific Python Stack + Tensorflow + Tensorboardis available, just with the command:dockerpulllspvic/tensorboard-notebookdockerrun-it--rm-p8888:8888lspvic/tensorboard-notebookJupyter notebook with tensorboard integrated is now available inhttp://localhost:8888, details are indocker/README.md.UsageOncejupyter_tensorboardis installed and enabled, and your notebook server has been restarted, you should be able to find the interfaces to manage tensorboard instances.In notebook tree view, select a directory, atensorboardbutton will be presented. Click the button, a new browser tab will be opened to show the tensorboard interface with the proposed directory as logdir.In notebook tree view, click thetensorboardmenu innewand a new tensorboard instance is started with current directory as logdir.In notebookrunningtab, a list of tensorboard instances are showed. Managing operations such as browsing, navigating, shutdown  can be found here.The tensorboard instance interface is inhttp://jupyter-host/tensorboard/<name>/with the instance names increasing from 1.UninstallTo purge the installation of the extension, there are a few steps to execute:jupytertensorboarddisable--userpipuninstalljupyter-tensorboardor if you have uninstall the pip package, but the extension seems to be not purged, you can execute:jupyterserverextensiondisablejupyter_tensorboard--userjupyternbextensiondisablejupyter_tensorboard/tree--userjupyternbextensionuninstalljupyter_tensorboard--userThe commands accept the same flags as thejupyter serverextensioncommand provided by notebook versions, including--systemto enable(or disable) in system-wide config, or--sys-prefixto enable(or disable) in config files inside python’ssys.prefix, such as for a virtual environment.TroubleshootingIf you encounter problems with this server extension, you can:Check that jupyter-tensorboard, tensorflow and tensorboard are all installed viapip list|grep tensor, you should see at least three lines,jupyter-tensorboard,tensorflowandtensorflow-tensorboard(ortensorboard). And also, check thattensorflowversion is >=1.3.Check that jupyter notebook is installed in the same python version viapip list|grep notebook, you shold seenotebookpackage.If you have installed the package but no buttons of tensorboard in jupyter appear, you need to runjupyter tensorboard enable--user. The step should be performed in the installation process, however, in some cases it seems that the command is not executed.Checking for error messages in the browser’s Javascript console (e.g. CTRL+SHIFT+J in Chrome).Check the issue page for this repository. If you can’t find one that fits your problem, please create a new one!ThanksThanks all the contributors and others for making significant contributions (report bugs, fix bugs, make enhancements, etc).@ferrarodav- PR32.@tcbegley- PR48.@qrtt1- TF2.0 support, PR56.