mirror of
https://github.com/AntoineHX/BU_Stoch_pool.git
synced 2025-05-03 17:20:45 +02:00
26 lines
No EOL
737 B
Bash
26 lines
No EOL
737 B
Bash
#!/bin/bash
|
|
#SBATCH --gres=gpu:1 #gpu:v100l:1 # https://docs.computecanada.ca/wiki/Using_GPUs_with_Slurm
|
|
#SBATCH --cpus-per-task=6 #6 # Cores proportional to GPUs: 6 on Cedar, 16 on Graham.
|
|
#SBATCH --mem=32000M #32000M # Memory proportional to CPUs: 32000 Cedar, 64000 Graham.
|
|
#SBATCH --account=def-mpederso
|
|
#SBATCH --time=1:00:00
|
|
#SBATCH --job-name=MyResNet18
|
|
#SBATCH --output=log/%x-%j.out
|
|
#SBATCH --mail-user=harle.collette.antoine@gmail.com
|
|
#SBATCH --mail-type=END
|
|
#SBATCH --mail-type=FAIL
|
|
|
|
|
|
# Setup
|
|
source ~/dataug/bin/activate
|
|
|
|
#Execute
|
|
# echo $(pwd) = /home/antoh/projects/def-mpederso/antoh/stoch/jobs
|
|
cd ../
|
|
|
|
time python main.py \
|
|
-n MyResNet18 \
|
|
-ep 10 \
|
|
-sc cosine \
|
|
-lr 5e-2 \
|
|
-pf _noCrop_Stoch |