Last active
December 18, 2018 19:22
-
-
Save meg-codes/067a5cc401c7892b0cb3bde391a37c98 to your computer and use it in GitHub Desktop.
slurm script to run mnist_example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#SBATCH --gres=gpu:1 | |
#one GPU, asking for only one CPU core since we're offloading to GPU | |
#SBATCH -t 00:05:00 | |
#SBATCH --mail-type=begin | |
#SBATCH --mail-type=end | |
#SBATCH [email protected] | |
module load anaconda3 | |
# assumes you have a conda environment named tf with tensorflow and matplotlib, i.e. | |
# conda create -n tf tensorflow matplotlib | |
source activate tf | |
python mnist_classify.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment