-
Notifications
You must be signed in to change notification settings - Fork 1
/
start.bash
45 lines (37 loc) · 1.45 KB
/
start.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
#SBATCH --job-name=pointprocess
#SBATCH -n 2
#SBATCH --time=10:00:00
#SBATCH --mem-per-cpu=4048
#SBATCH -p gpu
#SBATCH -n 2
#SBATCH -N 1
#SBATCH --gres=gpu:1
module purge
module add GPU
module load gnu/gnu-9.3.0
cmd="python run.py"
# Load the pyton environment
echo "Loading conda environment"
source /data/keeling/a/dkiv2/dkiv2/miniconda3/bin/activate
conda activate old
cmds=(
# "python run.py --dataset-name simulated --model-name e3d -lr 5e-3 --experiment-name testsim"
"python run.py --dataset-name real --model-name convlstm -lr 5e-3 --experiment-name vis"
"python run.py --dataset-name real --model-name e3d -lr 5e-3 --experiment-name vis"
# "python run.py --dataset-name simulated --model-name convlstm -lr 5e-3 --experiment-name tests"
# "python run.py --dataset-name simulated --model-name convlstm -lr 5e-3 --experiment-name testsim"
"python run.py --dataset-name real --model-name predrnn -lr 5e-3 --experiment-name vis"
# "python run.py --dataset-name simulated --model-name predrnn -lr 5e-3 --experiment-name testsim"
"python run.py --dataset-name real --model-name predrnn2 -lr 5e-3 --experiment-name vis"
# "python run.py --dataset-name simulated --model-name predrnn2 -lr 5e-3 --experiment-name testsim"
)
for ((i = 0; i < ${#cmds[@]}; i++))
do
# Print the command and run it
echo "Running command: ${cmds[$i]}"
${cmds[$i]}
done
echo "Experimental run complete. Script closing."
# End the script
exit