-
Notifications
You must be signed in to change notification settings - Fork 0
/
reproduce.sh
45 lines (41 loc) · 1.62 KB
/
reproduce.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
#!/bin/bash
mems=(50 20 10)
#CIFAR100
for mem in "${mems[@]}"
do
#ER
python final_test.py --parameters final_test_config/cifar100/Tiny/tiny_$mem.yml
#ASER
python final_test.py --parameters final_test_config/cifar100/SV/SV_adv_max_$mem.yml
python final_test.py --parameters final_test_config/cifar100/SV/SV_adv_mean_$mem.yml
#GSS
python final_test.py --parameters final_test_config/cifar100/GSS/gss_$mem.yml
#MIR
python final_test.py --parameters final_test_config/cifar100/MIR/mir_$mem.yml
done
#mini-imagenet
for mem in "${mems[@]}"
do
#ER
python final_test.py --parameters final_test_config/mini/Tiny/tiny_$mem.yml
#ASER
python final_test.py --parameters final_test_config/mini/SV/SV_adv_max_$mem.yml
python final_test.py --parameters final_test_config/mini/SV/SV_adv_mean_$mem.yml
#GSS
python final_test.py --parameters final_test_config/mini/GSS/gss_$mem.yml
#MIR
python final_test.py --parameters final_test_config/mini/MIR/mir_$mem.yml
done
mems=(100 50 20)
for mem in "${mems[@]}"
do
#ER
python final_test.py --parameters final_test_config/cifar10/Tiny/tiny_$mem.yml
#ASER
python final_test.py --parameters final_test_config/cifar10/SV/SV_adv_max_$mem.yml
python final_test.py --parameters final_test_config/cifar10/SV/SV_adv_mean_$mem.yml
#GSS
python final_test.py --parameters final_test_config/cifar10/GSS/gss_$mem.yml
#MIR
python final_test.py --parameters final_test_config/cifar10/MIR/mir_$mem.yml
done