-
Notifications
You must be signed in to change notification settings - Fork 0
/
espdnet_greenhouse_mr_outsource2.sh
39 lines (39 loc) · 1.37 KB
/
espdnet_greenhouse_mr_outsource2.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
for mr in 0.1 0.3 0.5; do
for tgt_port in 0.5; do
for nid_bin in 64 128 256; do
CUDA_VISIBLE_DEVICES=1 python crst_seg.py \
--random-mirror \
--test-scale 1.0 \
--rm-prob \
--test-flipping \
--num-classes 5 \
--learning-rate 0.00001 \
--save /tmp/runs/results_segmentation/normal_loss \
--data-path ./vision_datasets/ \
--data-src greenhouse \
--data-src-list ./vision_datasets/camvid/train_camvid.txt \
--data-tgt-train-list ./vision_datasets/greenhouse/train_greenhouse_more.txt \
--data-tgt-test-list ./vision_datasets/greenhouse/val_greenhouse.txt \
--batch-size 32 \
--gpu 0 \
--model espdnet \
--restore-from /tmp/runs/results_segmentation/model_espdnet_camvid/s_2.0_sch_hybrid_loss_ce_res_480_sc_0.5_2.0_rgb/20200513-204023/espdnet_2.0_480_best.pth \
--runs-root /tmp/runs/results_segmentation/normal_loss \
--power 0.0 \
--epr 2 \
--num-rounds 5 \
--init-src-port 1.00 \
--max-src-port 1.00 \
--init-tgt-port $tgt_port \
--max-tgt-port 0.5 \
--tgt-port-step 0.0 \
--src-port-step 0.0 \
--mr-weight-kld $mr \
--outsource camvid \
--nid-bin $nid_bin \
--outsource-weights ./results_segmentation/model_espdnet_camvid/s_2.0_sch_hybrid_loss_ce_res_480_sc_0.5_2.0_rgb_/20200420-095339/espdnet_2.0_480_best.pth
#--use-depth true \
#--trainable-fusion true
done
done
done