2020-07-29 21:12:46 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#SBATCH --job-name=R2D2
|
|
|
|
#SBATCH --output=%x-%j.out
|
|
|
|
#SBATCH --partition=cpu_partition
|
2021-05-31 04:51:59 +02:00
|
|
|
#SBATCH --nodes=1
|
2020-07-29 21:12:46 +02:00
|
|
|
#SBATCH --exclusive
|
2021-05-31 04:51:59 +02:00
|
|
|
##SBATCH --partition=gpu_partition
|
|
|
|
##SBATCH --gres=gpu:1
|
|
|
|
##SBATCH --ntasks=1
|
|
|
|
##SBATCH --cpus-per-task=8
|
|
|
|
#SBATCH --time=0-01:00:00
|
2020-07-29 21:12:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
hostname; pwd; date
|
|
|
|
|
|
|
|
|
|
|
|
# set computing environment, e.g. with module or anaconda
|
2021-03-18 20:17:30 +01:00
|
|
|
|
2020-07-29 21:12:46 +02:00
|
|
|
#module load python
|
2021-03-18 20:17:30 +01:00
|
|
|
#module list
|
|
|
|
|
2020-07-29 21:12:46 +02:00
|
|
|
#source $HOME/anaconda3/bin/activate pytorch_env
|
2021-03-18 20:17:30 +01:00
|
|
|
#conda info
|
2020-07-29 21:12:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
m2m.py test \
|
|
|
|
--test-in-patterns "test/R0-*.npy,test/R1-*.npy" \
|
|
|
|
--test-tgt-patterns "test/D0-*.npy,test/D1-*.npy" \
|
|
|
|
--in-norms RnD.R0,RnD.R1 --tgt-norms RnD.D0,RnD.D1 \
|
|
|
|
--model model.Net --callback-at . \
|
2020-09-13 00:21:51 +02:00
|
|
|
--batch-size 1 \
|
2020-07-29 21:12:46 +02:00
|
|
|
--load-state checkpoint.pt
|
|
|
|
|
|
|
|
|
|
|
|
date
|