Giter Club home page Giter Club logo

tensorboard's Introduction

Serving Tensorboard UI on startup

Binder (Tensorboard)

Binder (notebook)

An example of running Jupyter notebook + tensorboard on mybinder.org. To launch tensorboard go to:

https://mybinder.org/v2/gh/btel/binder-tensorboard/master?urlpath=%2fproxy%2f6006%2f

This example shows how to:

  • expose the tensorboard interface on binder,
  • use the jupyter-server-proxy extension to map a web application running on a port inaccessible from the internet (6006 for example) to jupyter path (/proxy/6006/),
  • launch tensorboard on startup using the custom server extension (tensorboardserverextension.py).

Notes

Once the tensorboard is launched you can also open and run the notebooks by replacing the /proxy/6006/ part of the URL (or everything after /proxy) with /tree (or /lab for jupyter lab view).

When you run the training of the neural net in the notebook you can watch the progress of the run live (you can keep tensorboard open in a separate tab).

How?

tensorboard launches a webserver on a given port (by default 6006). In many environments (like dockerized deployments), the port is not visible in the external network. To expose it, we use the jupyter-servery-proxy extension to proxy it to the jupyter server URL (/proxy/6006/, mind the trailing slash!)

The tensorboardserverextension.py file, which is executed by jupyter server on start up, launches the tensorboard server.

tensorboard's People

Contributors

btel avatar choldgraf avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.