-
Notifications
You must be signed in to change notification settings - Fork 0
/
job_example.sh
64 lines (60 loc) · 978 Bytes
/
job_example.sh
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
###### Reserve computing resources ############# in gpu
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --time=24:00:00
#SBATCH --mem=80G
#SBATCH --partition=gpu
#SBATCH --gres=gpu:2
source ~/miniconda3/bin/activate myenv
python pd_sfcn.py \
#model name
model_name \
#is it the first run?
True \
#name of loaded model if any
model_loaded \
#n of epochs
60 \
#random split
1 \
#learning rate
0.01 \
#learning decay
0.001 \
#run augmentation
False \
#extension of DTI data to use for the run
ad,fa,md,rd \
#use age and sex?
True \
#add regularization
False \
#batch size
4 > log.txt
#for explainability also run
python exp.py \
#model name
model_name \
#is it the first run?
True \
#name of loaded model if any
model_loaded \
#n of epochs
60 \
#random split
1 \
#learning rate
0.01 \
#learning decay
0.001 \
#run augmentation
False \
#extension of DTI data to use for the run
ad,fa,md,rd \
#use age and sex?
True \
#add regularization
False \
#batch size
4 > log.txt