-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathTable4.sh
More file actions
47 lines (44 loc) · 1.19 KB
/
Table4.sh
File metadata and controls
47 lines (44 loc) · 1.19 KB
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
models=(
'ce-tor-WRN_40_10',
'advbeta2ce-tor-WRN_40_10',
'advce-tor-WRN_40_10',
'strades3ce-tor-WRN_40_10',
'strades6ce-tor-WRN_40_10',
'ce-tor-WRN_40_10_drop50',
'advbeta2ce-tor-WRN_40_10_drop50',
'advce-tor-WRN_40_10_drop50',
'strades3ce-tor-WRN_40_10_drop50',
'strades6ce-tor-WRN_40_10_drop50',
)
for i in "${models[@]}"
do
python ./main.py --experiment experiment01 \
--no-hooks \
--norm inf --eps 0.031 \
--dataset svhn \
--model ${i} \
--attack pgd \
--random_seed 0
done
models=(
'aug01-ce-tor-WRN_40_10',
'aug01-advbeta2ce-tor-WRN_40_10',
'aug01-strades3ce-tor-WRN_40_10',
'aug01-strades6ce-tor-WRN_40_10',
'aug01-advce-tor-WRN_40_10-lrem2',
'aug01-ce-tor-WRN_40_10_drop20',
'aug01-strades3ce-tor-WRN_40_10_drop20',
'aug01-strades6ce-tor-WRN_40_10_drop20',
'aug01-advce-tor-WRN_40_10_drop20-lrem2',
'aug01-advbeta2ce-tor-WRN_40_10_drop20',
)
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