-
Notifications
You must be signed in to change notification settings - Fork 1
/
eval.sh
executable file
·52 lines (47 loc) · 1.17 KB
/
eval.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
#!/bin/bash
python=/usr/bin/python3
device=cuda:0
CIFAR10_model_list=(
CIFAR10_Standard_ResNet_110
CIFAR10_Standard_ResNet_20
CIFAR10_Standard_WRN_16_8
CIFAR10_Standard_WRN_40_4
CIFAR10_BNResNEst_ResNet_110
CIFAR10_BNResNEst_ResNet_20
CIFAR10_BNResNEst_WRN_16_8
CIFAR10_BNResNEst_WRN_40_4
CIFAR10_ResNEst_ResNet_110
CIFAR10_ResNEst_ResNet_20
CIFAR10_ResNEst_WRN_16_8
CIFAR10_ResNEst_WRN_40_4
CIFAR10_AResNEst_ResNet_110
CIFAR10_AResNEst_ResNet_20
CIFAR10_AResNEst_WRN_16_8
CIFAR10_AResNEst_WRN_40_4
)
CIFAR100_model_list=(
CIFAR100_Standard_ResNet_110
CIFAR100_Standard_ResNet_20
CIFAR100_Standard_WRN_16_8
CIFAR100_Standard_WRN_40_4
CIFAR100_BNResNEst_ResNet_110
CIFAR100_BNResNEst_ResNet_20
CIFAR100_BNResNEst_WRN_16_8
CIFAR100_BNResNEst_WRN_40_4
CIFAR100_ResNEst_ResNet_110
CIFAR100_ResNEst_ResNet_20
CIFAR100_ResNEst_WRN_16_8
CIFAR100_ResNEst_WRN_40_4
CIFAR100_AResNEst_ResNet_110
CIFAR100_AResNEst_ResNet_20
CIFAR100_AResNEst_WRN_16_8
CIFAR100_AResNEst_WRN_40_4
)
for model in ${CIFAR10_model_list[@]}
do
$python eval.py --data CIFAR10 --model $model --device $device
done
for model in ${CIFAR100_model_list[@]}
do
$python eval.py --data CIFAR100 --model $model --device $device
done