-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparams.json
66 lines (55 loc) · 1.23 KB
/
params.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"dataset": "SUN",
"clean_results":true,
"zsl_test": true,
"gzsl_test": true,
"num_workers":10,
"pin_memory": true,
"shuffle_dataset": true,
"attack": "fgsm",
"fgsm_params":
{
"epsilon":0.001
},
"deepfool_params":
{
"max_iter":10,
"epsilon": 1e-6,
"nb_grads_zsl": 10,
"nb_grads_gzsl": 10
},
"carliniwagner_params":
{
"confidence":0.0,
"learning_rate":0.01,
"binary_search_steps": 5,
"max_iter": 10,
"initial_const":0.01,
"max_halving":5,
"max_doubling":5
},
"hasDefense":true,
"defense": "spatial_smooth",
"ss_params":
{
"window_size": 3
},
"totalvar_params": {
"max_iter": 3
},
"CUB_paths": {
"att_split": "data/CUB/att_splits.mat",
"root": "path_to_cub_images",
"metaData": "data/CUB/res101.mat"
},
"SUN_paths": {
"att_split": "data/SUN/att_splits.mat",
"root": "path_to_sun_images",
"metaData": "data/SUN/res101.mat"
},
"AWA2_paths": {
"att_split": "data/AWA2/att_splits.mat",
"root": "path_to_awa2_images",
"metaData": "data/AWA2/res101.mat"
}
}