Set up your Environment
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.8 installed. You can use an Environment as a base image if it uses this Domino standard:
quay.io/domino/compute-environment-images:ubuntu20-py3.9-r4.3-domino5.10-gpuquay.io/domino/domino-gpu-environment:develop.3d96fa12 - 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:
-
Add the following lines to the Pluggable Workspace Tools to add JupyterLab workspace:
-
Add the following lines to the Pre-run script if the Project you plan to use in this Compute Environment is a Domino Project:
-
Add the following lines to the Pre-run script if the Project is a Git-based Project:
- Click Build. The Revisions page opens. If the new revision builds successfully, you can use this Environment.
Use Jupyter-TensorBoard
- 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 Jupyterlab and launch a new workspace.
- Select Tensorboard from the Launcher.
Troubleshooting
- 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-gpuinstalled (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).