All Projects → lspvic → Jupyter_tensorboard

lspvic / Jupyter_tensorboard

Licence: mit
Start Tensorboard in Jupyter Notebook

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Jupyter tensorboard

Applied Reinforcement Learning
Reinforcement Learning and Decision Making tutorials explained at an intuitive level and with Jupyter Notebooks
Stars: ✭ 229 (-48.65%)
Mutual labels:  jupyter-notebook, jupyter, tensorboard
Jupyter Edu Book
Teaching and Learning with Jupyter
Stars: ✭ 325 (-27.13%)
Mutual labels:  jupyter-notebook, jupyter
Ielixir
Jupyter's kernel for Elixir programming language
Stars: ✭ 312 (-30.04%)
Mutual labels:  jupyter-notebook, jupyter
Vscodejupyter
Jupyter for Visual Studio Code
Stars: ✭ 337 (-24.44%)
Mutual labels:  jupyter-notebook, jupyter
Notebook As Pdf
Save Jupyter Notebooks as PDF
Stars: ✭ 290 (-34.98%)
Mutual labels:  jupyter-notebook, jupyter
Spyder Notebook
Jupyter notebook integration with Spyder
Stars: ✭ 298 (-33.18%)
Mutual labels:  jupyter-notebook, jupyter
Homemade Machine Learning
🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
Stars: ✭ 18,594 (+4069.06%)
Mutual labels:  jupyter-notebook, jupyter
Icsharp
C# kernel for Jupyter
Stars: ✭ 263 (-41.03%)
Mutual labels:  jupyter-notebook, jupyter
Pytorch Original Transformer
My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing otherwise seemingly hard concepts. Currently included IWSLT pretrained models.
Stars: ✭ 411 (-7.85%)
Mutual labels:  jupyter-notebook, jupyter
Enterprise gateway
A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
Stars: ✭ 412 (-7.62%)
Mutual labels:  jupyter-notebook, jupyter
Hands On Nltk Tutorial
The hands-on NLTK tutorial for NLP in Python
Stars: ✭ 419 (-6.05%)
Mutual labels:  jupyter-notebook, jupyter
Tensorwatch
Debugging, monitoring and visualization for Python Machine Learning and Data Science
Stars: ✭ 3,191 (+615.47%)
Mutual labels:  jupyter-notebook, jupyter
Gophernotes
The Go kernel for Jupyter notebooks and nteract.
Stars: ✭ 3,100 (+595.07%)
Mutual labels:  jupyter-notebook, jupyter
Vimpyter
Edit your Jupyter notebooks in Vim/Neovim
Stars: ✭ 308 (-30.94%)
Mutual labels:  jupyter-notebook, jupyter
Geopython
Notebooks and libraries for spatial/geo Python explorations
Stars: ✭ 268 (-39.91%)
Mutual labels:  jupyter-notebook, jupyter
Cc150
《程序员面试金典》(cc150)
Stars: ✭ 326 (-26.91%)
Mutual labels:  jupyter-notebook, jupyter
Py d3
D3 block magic for Jupyter notebook.
Stars: ✭ 428 (-4.04%)
Mutual labels:  jupyter-notebook, jupyter
Spacy Notebooks
💫 Jupyter notebooks for spaCy examples and tutorials
Stars: ✭ 255 (-42.83%)
Mutual labels:  jupyter-notebook, jupyter
Spark Jupyter Aws
A guide on how to set up Jupyter with Pyspark painlessly on AWS EC2 clusters, with S3 I/O support
Stars: ✭ 259 (-41.93%)
Mutual labels:  jupyter-notebook, jupyter
Quantitative Notebooks
Educational notebooks on quantitative finance, algorithmic trading, financial modelling and investment strategy
Stars: ✭ 356 (-20.18%)
Mutual labels:  jupyter-notebook, jupyter

Jupyter-Tensorboard: Start Tensorboard in Jupyter Notebook

|build-status| |pypi-status| |pypi-pyversions| |tf-versions| |docker-stars|

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.

Installation

#. 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.

#. 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.

#. 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:

.. code-block:: bash

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 <https://github.com/lspvic/jupyter_tensorboard/tree/master/docker/>_.

Usage

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.

  • In notebook tree view, select a directory, a tensorboard button will be presented. Click the button, a new browser tab will be opened to show the tensorboard interface with the proposed directory as logdir.

.. image:: https://github.com/lspvic/jupyter_tensorboard/raw/master/docs/_static/tensorboard_button.png

  • In notebook tree view, click the tensorboard menu in new and a new tensorboard instance is started with current directory as logdir.

.. image:: https://github.com/lspvic/jupyter_tensorboard/raw/master/docs/_static/tensorboard_menu.png

  • In notebook running tab, a list of tensorboard instances are showed. Managing operations such as browsing, navigating, shutdown can be found here.

.. image:: https://github.com/lspvic/jupyter_tensorboard/raw/master/docs/_static/tensorboard_list.png

  • The tensorboard instance interface is in http://jupyter-host/tensorboard/<name>/ with the instance names increasing from 1.

.. image:: https://github.com/lspvic/jupyter_tensorboard/raw/master/docs/_static/tensorboard_url.png

Uninstall

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

.. code:: bash

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:

.. code:: bash

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.

Troubleshooting

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

  • Check that jupyter-tensorboard, tensorflow and tensorboard are all installed via pip list|grep tensor, you should see at least three lines, jupyter-tensorboard, tensorflow and tensorflow-tensorboard (or tensorboard ). And also, check that tensorflow version is >=1.3.
  • Check that jupyter notebook is installed in the same python version via pip list|grep notebook, you shold see notebook package.
  • If you have installed the package but no buttons of tensorboard in jupyter appear, you need to run jupyter 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!

Thanks

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

  • @ferrarodav <https://github.com/ferrarodav>_ - PR 32 <https://github.com/lspvic/jupyter_tensorboard/pull/32>_ .
  • @tcbegley <https://github.com/tcbegley>_ - PR 48 <https://github.com/lspvic/jupyter_tensorboard/pull/48>_ .
  • @qrtt1 <https://github.com/qrtt1>_ - TF2.0 support, PR 56 <https://github.com/lspvic/jupyter_tensorboard/pull/56>_ .

.. |build-status| image:: https://img.shields.io/travis/lspvic/jupyter_tensorboard.svg :target: https://travis-ci.org/lspvic/jupyter_tensorboard

.. |pypi-status| image:: https://img.shields.io/pypi/v/jupyter_tensorboard.svg :target: https://pypi.python.org/pypi/jupyter_tensorboard

.. |pypi-pyversions| image:: https://img.shields.io/pypi/pyversions/jupyter_tensorboard.svg :target: https://pypi.python.org/pypi/jupyter_tensorboard

.. |tf-versions| image:: https://img.shields.io/badge/tensorflow-%E2%89%A51.3,%E2%89%A42.0-blue.svg :target: https://github.com/tensorflow/tensorflow/releases

.. |docker-stars| image:: https://img.shields.io/docker/stars/lspvic/tensorboard-notebook.svg :target: https://hub.docker.com/r/lspvic/tensorboard-notebook/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].