-
Notifications
You must be signed in to change notification settings - Fork 14
/
Table3.sh
41 lines (40 loc) · 1.06 KB
/
Table3.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
models=(
'aug01-ce-tor-WRN_40_10',
'aug01-advbeta2ce-tor-WRN_40_10',
'aug01-advbetace-tor-WRN_40_10',
'aug01-advbeta.5ce-tor-WRN_40_10',
'aug01-advce-tor-WRN_40_10',
'aug01-strades6ce-tor-WRN_40_10',
'aug01-strades3ce-tor-WRN_40_10',
'aug01-stradesce-tor-WRN_40_10',
)
for i in "${models[@]}"
do
python ./main.py --experiment experiment01 \
--no-hooks \
--norm inf --eps 0.031 \
--dataset cifar10 \
--model ${i} \
--attack pgd \
--random_seed 0
done
models=(
'ce-tor-ResNet5-adambs128',
'advbeta2ce-tor-ResNet5-adambs128',
'advbetace-tor-ResNet5-adambs128',
'advbeta.5ce-tor-ResNet5-adambs128',
'advce-tor-ResNet5-adambs128',
'strades6ce-tor-ResNet5-adambs128',
'strades3ce-tor-ResNet5-adambs128',
'stradesce-tor-ResNet5-adambs128',
)
for i in "${models[@]}"
do
python ./main.py --experiment restrictedImgnet \
--no-hooks \
--norm inf --eps 0.005 \
--dataset resImgnet112v3 \
--model ${i} \
--attack pgd \
--random_seed 0
done