A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/lspvic/jupyter_tensorboard below:

lspvic/jupyter_tensorboard: Start Tensorboard in Jupyter Notebook

Jupyter-Tensorboard: Start Tensorboard in Jupyter Notebook

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:

  1. Be 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.

  2. Install the pip package. The python version must be the same as Jupyter: if you start jupyter notebook in python3, pip3 may be used to install the package

    pip(3) install jupyter-tensorboard

    NOTE:

    The python version is important, you must be sure that your jupyter, jupyter_tensorboard, tensorflow have 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.

  3. Restart the jupyter notebook server.

Use jupyter-tensorboard in docker containers

Docker image for Jupyter Notebook Scientific Python Stack + Tensorflow + Tensorboard is available, just with the command:

docker pull lspvic/tensorboard-notebook
docker run -it --rm -p 8888:8888 lspvic/tensorboard-notebook

Jupyter notebook with tensorboard integrated is now available in http://localhost:8888 , details are in docker/README.md.

Once jupyter_tensorboard is installed and enabled, and your notebook server has been restarted, you should be able to find the interfaces to manage tensorboard instances.

To purge the installation of the extension, there are a few steps to execute:

jupyter tensorboard disable --user
pip uninstall jupyter-tensorboard

or if you have uninstall the pip package, but the extension seems to be not purged, you can execute:

jupyter serverextension disable jupyter_tensorboard --user
jupyter nbextension disable jupyter_tensorboard/tree --user
jupyter nbextension uninstall jupyter_tensorboard --user

The commands accept the same flags as the jupyter serverextension command provided by notebook versions, including --system to enable(or disable) in system-wide config, or --sys-prefix to enable(or disable) in config files inside python's sys.prefix, such as for a virtual environment.

If you encounter problems with this server extension, you can:

Thanks all the contributors and others for making significant contributions (report bugs, fix bugs, make enhancements, etc).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4