-
Notifications
You must be signed in to change notification settings - Fork 14
/
test_sysu.sh
66 lines (58 loc) · 1.67 KB
/
test_sysu.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
58
59
60
61
62
63
64
65
WEIGHTS="./checkpoints_sysu/eval-cm-nas_searched_arch-sp-lam5.0-cmmd-lam0.05-ema/checkpoint.pth.tar"
CONFIG="./checkpoints_sysu/cm-nas_searched_arch/config.cfg"
CUDA_VISIBLE_DEVICES=0 python -W ignore -u test.py \
--data_root "/path/to/your/SYSU-MM01/" \
--dataset "sysu" \
--model_type "cm-nas" \
--config_path $CONFIG \
--weights $WEIGHTS \
--test_batch 128 \
--img_w 128 \
--img_h 256 \
--last_stride 1 \
--test_feat_norm 'yes' \
--mode 'all' \
--shot 1 \
# --ema
CUDA_VISIBLE_DEVICES=0 python -W ignore -u test.py \
--data_root "/path/to/your/SYSU-MM01/" \
--dataset "sysu" \
--model_type "cm-nas" \
--config_path $CONFIG \
--weights $WEIGHTS \
--test_batch 128 \
--img_w 128 \
--img_h 256 \
--last_stride 1 \
--test_feat_norm 'yes' \
--mode 'all' \
--shot 10 \
# --ema
CUDA_VISIBLE_DEVICES=0 python -W ignore -u test.py \
--data_root "/path/to/your/SYSU-MM01/" \
--dataset "sysu" \
--model_type "cm-nas" \
--config_path $CONFIG \
--weights $WEIGHTS \
--test_batch 128 \
--img_w 128 \
--img_h 256 \
--last_stride 1 \
--test_feat_norm 'yes' \
--mode 'indoor' \
--shot 1 \
# --ema
CUDA_VISIBLE_DEVICES=0 python -W ignore -u test.py \
--data_root "/path/to/your/SYSU-MM01/" \
--dataset "sysu" \
--model_type "cm-nas" \
--config_path $CONFIG \
--weights $WEIGHTS \
--test_batch 128 \
--img_w 128 \
--img_h 256 \
--last_stride 1 \
--test_feat_norm 'yes' \
--mode 'indoor' \
--shot 10 \
# --ema