-
Notifications
You must be signed in to change notification settings - Fork 1
/
train_cuda1.sh
executable file
·52 lines (43 loc) · 1.05 KB
/
train_cuda1.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:1
CIFAR10_ResNEst_list=(
CIFAR10_ResNEst_ResNet_110
CIFAR10_ResNEst_ResNet_20
CIFAR10_ResNEst_WRN_16_8
CIFAR10_ResNEst_WRN_40_4
)
CIFAR10_AResNEst_list=(
CIFAR10_AResNEst_ResNet_110
CIFAR10_AResNEst_ResNet_20
CIFAR10_AResNEst_WRN_16_8
CIFAR10_AResNEst_WRN_40_4
)
CIFAR100_ResNEst_list=(
CIFAR100_ResNEst_ResNet_110
CIFAR100_ResNEst_ResNet_20
CIFAR100_ResNEst_WRN_16_8
CIFAR100_ResNEst_WRN_40_4
)
CIFAR100_AResNEst_list=(
CIFAR100_AResNEst_ResNet_110
CIFAR100_AResNEst_ResNet_20
CIFAR100_AResNEst_WRN_16_8
CIFAR100_AResNEst_WRN_40_4
)
for model in ${CIFAR10_ResNEst_list[@]}
do
$python main.py --data CIFAR10 --model $model --device $device --mu 0.01
done
for model in ${CIFAR10_AResNEst_list[@]}
do
$python main.py --data CIFAR10 --model $model --device $device
done
for model in ${CIFAR100_ResNEst_list[@]}
do
$python main.py --data CIFAR100 --model $model --device $device --mu 0.01
done
for model in ${CIFAR100_AResNEst_list[@]}
do
$python main.py --data CIFAR100 --model $model --device $device
done