-
Notifications
You must be signed in to change notification settings - Fork 5
/
run_pipeline.sh
58 lines (48 loc) · 1.34 KB
/
run_pipeline.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
# -----------------------------------------------------#
#Run dsb3 processing / model training
# -----------------------------------------------------#
python3.4 dsb3.py 0 -s ''
python3.4 dsb3.py 1 -s ''
python3.4 dsb3.py 3 -s ''
#make links
cd ./datapipeline_final/dsb3_0/
ln -s gen_candidates gen_candidates_res05
ln -s gen_candidates gen_candidates_res07
ln -s resample_lungs resample_lungs_res05
ln -s resample_lungs resample_lungs_res07
cd ../../
python3.4 dsb3.py 4 -s '_res05'
python3.4 dsb3.py 4 -s '_res07'
#reorder lists
python3.4 enforce_ordering.py
#100 - 0 split
cd ./dsb3_networks/classification/resnet2D_0.5res_100/
python3.4 run.py
cd ../resnet2D_0.7res_100/
python3.4 run.py
cd ../resnet3D_0.5res_100/
python3.4 run.py
cd ../resnet3D_0.7res_100/
python3.4 run.py
#80 - 20 split
cd ../resnet2D_0.5res_80/
python3.4 run.py
cd ../resnet3D_0.5res_80/
python3.4 run.py
cd ../resnet2D_0.7res_80/
python3.4 run.py
cd ../resnet3D_0.7res_80/
python3.4 run.py
cd ../../../dsb3a/
#sub 1
python3.4 dsb3.py 7 -s '_2D_05res_80'
python3.4 dsb3.py 7 -s '_2D_07res_80'
python3.4 dsb3.py 7 -s '_3D_05res_80'
python3.4 dsb3.py 7 -s '_3D_07res_80'
#sub 2
python3.4 dsb3.py 7 -s '_2D_05res_100'
python3.4 dsb3.py 7 -s '_2D_07res_100'
python3.4 dsb3.py 7 -s '_3D_05res_100'
python3.4 dsb3.py 7 -s '_3D_07res_100'
#combine submissions (average)
python3.4 combine_subs.py