forked from twosixlabs/armory-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mnist_baseline.json
57 lines (57 loc) · 1.41 KB
/
mnist_baseline.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
{
"_description": "Baseline mnist image classification",
"adhoc": null,
"attack": {
"knowledge": "white",
"kwargs": {
"batch_size": 1,
"eps": 0.2,
"eps_step": 0.1,
"minimal": false,
"num_random_init": 0,
"targeted": false
},
"module": "art.attacks",
"name": "FastGradientMethod",
"use_label": true
},
"dataset": {
"batch_size": 64,
"framework": "numpy",
"module": "armory.data.datasets",
"name": "mnist"
},
"defense": null,
"metric": {
"means": true,
"perturbation": "linf",
"record_metric_per_sample": false,
"task": [
"categorical_accuracy"
]
},
"model": {
"fit": true,
"fit_kwargs": {
"nb_epochs": 20
},
"model_kwargs": {},
"module": "armory.baseline_models.keras.mnist",
"name": "get_art_model",
"weights_file": null,
"wrapper_kwargs": {}
},
"scenario": {
"kwargs": {},
"module": "armory.scenarios.image_classification",
"name": "ImageClassificationTask"
},
"sysconfig": {
"docker_image": "twosixarmory/tf1:0.9.1",
"external_github_repo": null,
"gpus": "all",
"output_dir": null,
"output_filename": null,
"use_gpu": false
}
}