-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.sh
50 lines (39 loc) · 1.43 KB
/
test.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
############edsr
edsr_x2_eval() {
python3 main_limitrange_incremental.py --scale 2 --model EDSR \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output/edsrx2/4bit" --dir_data ./datasets
}
edsr_x4_eval() {
python3 main_limitrange_incremental.py --scale 4 --model EDSR \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output/edsrx4/4bit" --dir_data ./datasets
}
##############srresnet
bnsrresnet_x2_eval() {
python3 main_limitrange_incremental.py --scale 2 --model bnsrresnet \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output_tmp/bnsrresnetx2/4bit" --dir_data ./datasets
}
bnsrresnet_x4_eval() {
python3 main_limitrange_incremental.py --scale 4 --model bnsrresnet \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output_tmp/bnsrresnetx4/4bit" --dir_data ./datasets
}
##############rdn
rdn_x4_eval() {
python3 main_limitrange_incremental.py --scale 4 --model RDN \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output/rdnx4/4bit" --dir_data ./datasets
}
rdn_x2_eval() {
python3 main_limitrange_incremental.py --scale 2 --model RDN \
--k_bits 4 --save_results --test_only \
--data_test Set5+Set14+B100+Urban100 \
--save "../experiment/output/rdnx2/4bit" --dir_data ./datasets
}