-
Notifications
You must be signed in to change notification settings - Fork 5
/
run_pipeline_LUNA.sh
29 lines (24 loc) · 964 Bytes
/
run_pipeline_LUNA.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
# -----------------------------------------------------#
#Process LUNA for retraining
# -----------------------------------------------------#
python3.4 dsb3.py 0 -n 8 -s '' -ds 'LUNA16'
python3.4 dsb3.py 2 -n 8 -s '' -ds 'LUNA16'
python3.4 dsb3.py 6 -n 8 -s '' -ds 'LUNA16' #(bug) always uses entire data, will fail if previous steps use 10 patients
#Train Segmentation
cd ../dsb3_networks/nodule_segmentation/net/
python3.4 run.py stage1
python3.4 run.py stage2
# copy checkpoint to nodule segmentation
cp -r output_dir/128x128_5Channels_mutliview_stage2 ../../../checkpoints/nodule_segmentation
cd ../../../dsb3a/
python3.4 dsb3.py 1 -s '' -ds 'LUNA16'
python3.4 dsb3.py 3 -s '' -ds 'LUNA16'
python3.4 dsb3.py 4 -s '' -ds 'LUNA16'
#binaries luna candidate_lists
python3.4 binarize_candidates.py
#Train noduleness classifier
cd ../dsb3_networks/classification/luna_resnet2D/
python3.4 run.py
cd ../luna_resnet3D/
python3.4 run.py
cd ../../../dsb3a/