Skip to content

Commit

Permalink
job script (train.py already supports this now)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhsin Fatih Yorulmaz committed Dec 15, 2019
1 parent b2199e3 commit 50dbd13
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions srgan/job_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CONTAINER=container/sandboxdir
sing="singularity exec --nv $CONTAINER "
(\
export CUDA_VISIBLE_DEVICES=0
JOBNAME=input96
$sing python3 -u 'train.py' --inputsize 96 --exp $JOBNAME >> outputs/$JOBNAME.log 2>&1
) # &
(\
export CUDA_VISIBLE_DEVICES=0
JOBNAME=input64
$sing python3 -u 'train.py' --inputsize 64 --exp $JOBNAME >> outputs/$JOBNAME.log 2>&1
) # &
(\
export CUDA_VISIBLE_DEVICES=0
JOBNAME=input48
$sing python3 -u 'train.py' --inputsize 48 --exp $JOBNAME >> outputs/$JOBNAME.log 2>&1
) # &
(\
export CUDA_VISIBLE_DEVICES=0
JOBNAME=input36
$sing python3 -u 'train.py' --inputsize 36 --exp $JOBNAME >> outputs/$JOBNAME.log 2>&1
) # &

0 comments on commit 50dbd13

Please sign in to comment.