-
Notifications
You must be signed in to change notification settings - Fork 148
/
Copy pathencnet_res101_ade20k_train.sh
26 lines (21 loc) · 1.15 KB
/
encnet_res101_ade20k_train.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
#!/usr/bin/env bash
#train
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m experiments.segmentation.train --dataset ade20k \
--model encnet --jpu [JPU|JPU_X] --aux --se-loss \
--backbone resnet101 --checkname encnet_res101_ade20k_train
#test [single-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m experiments.segmentation.test --dataset ade20k \
--model encnet --jpu [JPU|JPU_X] --aux --se-loss \
--backbone resnet101 --resume {MODEL} --split val --mode testval
#test [multi-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m experiments.segmentation.test --dataset ade20k \
--model encnet --jpu [JPU|JPU_X] --aux --se-loss \
--backbone resnet101 --resume {MODEL} --split val --mode testval --ms
#predict [single-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m experiments.segmentation.test --dataset ade20k \
--model encnet --jpu [JPU|JPU_X] --aux --se-loss \
--backbone resnet101 --resume {MODEL} --split val --mode test
#predict [multi-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m experiments.segmentation.test --dataset ade20k \
--model encnet --jpu [JPU|JPU_X] --aux --se-loss \
--backbone resnet101 --resume {MODEL} --split val --mode test --ms