Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download the code mnist-with-summaries.py to local machine and copy the file to $HOME folder on hal-login:

Code Block
scp ./cd ~
wget https://wiki.ncsa.illinois.edu/download/attachments/82510352/mnist-with-summaries.py [user_name]@hal.ncsa.illinois.edu:~

Train on MNIST with TensorFlow summary and go back to login node:

Code Block
cd ~
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
sbatch tfbd_sample.sb
squeue

Start the TensorBorad session

...

Code Block
python ./examples/mnist/main.py

Batch mode

The same can be accomplished in batch mode using the following pytorch_sample.sb script:

...