TensorBoard is a tool for providing the measurements and visualizations needed during the machine learning workflow. It enables tracking of experiment metrics such as loss and accuracy, visualizing the model graph, projecting embeddings to a lower dimensional space, and much more.
Note: You don't need a GPU node to look at the TensorBoard data.
On the compute node, load the miniconda3 module from the /swbuild/analytix directory:
r601i1n1 % module use -a /swbuild/analytix/tools/modulefiles
r601i1n1 % module load miniconda3/v4
where r601i1n1 is the name of a compute node (the one you use will have a different name). Be sure to note the name of the compute node, as you will need it to access the TensorBoard on your local machine in step 5.
Activate a conda environment to use the proper libraries. For example, where env_name is the name of the environment:
For bash: r601i1n1 % source activate env_name
For csh (on one line): r601i1n1 % source /swbuild/analytix/tools/miniconda3_220407/bin/activate.csh env_name
Start a TensorBoard on the compute node:
(env_name)r601i1n1 % tensorboard --logdir=logs
Serving TensorBoard on localhost; to expose to the network,
use a proxy or pass --bind_all
TensorBoard 2.2.1 at http://localhost:6006/ (Press CTRL+C to quit)
On your local workstation, open a terminal and type the following (on one command line) to connect via SSH to the compute node: