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