...
Visualization with TensorBoard
Interactive mode
Get node for interactive use:
...
Code Block |
---|
python ./mnist-with-summaries.py exit |
Batch mode
The same can be accomplished in batch mode using the following tfbd_sample.sb script:
Code Block |
---|
wget https://wiki.ncsa.illinois.edu/download/attachments/82510352/tfbd_sample.sb sbatch tfbd_sample.sb squeue |
Start the TensorBorad session
After job completed the TensorFlow log files can be found in "~/tensorflow/mnist/logs", start the TensorBoard server on login node:
Code Block |
---|
tensorboard --logdir ~/tensorflow/mnist/logs/ --port [user_pick_port] # please use random number between 6500 - 6999 |
Forward the port 6006 on remote machine to the port 16006 on local machine:
Code Block |
---|
ssh -N -f -L localhost:16006:localhost:6006[user_pick_port] dmu@hal |
Paste the follow address into web browser to start the TensorBoard session:
...