TensorBoard is a tool for visualizing TensorFlow data. TensorBoard operates by reading events files, which contain summary data that generated by TensorFlow. You can visualize your TensorFlow graph, plot quantitative metrics about graph, and show additional data that passes through the graph.
You can install and enable the Jupyter-TensorBoard server extension in your compute Environment to use TensorBoard in your Domino Jupyter.
You must create or modify an Environment to enable this extension in your Domino Workspaces. See Environment Management.
-
In the navigation bar, click Environments.
-
Click Create Environment.
-
Give the Environment a name, and then select a base image that has Python 3.6+ installed. You can use an Environment as a base image if it uses this Domino standard:
quay.io/domino/base:standard-py3.6-v1.3+
-
After setting the Visibility and entering a description, click Create Environment. The Environment’s Overview page opens.
-
Go to Docker Settings and click Edit Dockerfile.
-
Add the following lines to the Dockerfile Instructions:
RUN pip install ipython jupyter jupyter-tensorboard --upgrade RUN jupyter tensorboard enable --system
-
Click Build.
The Revisions page opens. If the new revision builds successfully, you can use this Environment.
-
Open the Project you want to use with Jupyter-Tensorboard.
-
In the navigation pane, click Settings.
-
From Compute Environment, select the Environment you created previously. A notification opens to verify that the new Environment is now set.
-
In the navigation pane, click Workspaces, then select Jupyter and launch a new workspace.
-
From the Files tab in the workspace, click New > Tensorboard.
You can access TensorBoard from the Running tab.
See the TensorBoard README to learn how to consume TensorFlow events.
-
If you encounter issues loading Tensorboard initially, confirm that Tensorflow is operating properly. Loading the application depends on Tensorflow.
-
By default, Domino’s standard Compute Environments have
tensorflow-gpu
installed (for example,pip install tensorflow-gpu
). Therefore, Tensorboard and Tensorflow will not work on a CPU hardware tier. If you’d like to use Tensorboard on a CPU, make sure that CPU optimized Tensorflow is installed (for example,pip install tensorflow
).- Tensorboard.png
-