forked from twosixlabs/armory-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch_loss_gradient.json
More file actions
60 lines (60 loc) · 1.54 KB
/
patch_loss_gradient.json
File metadata and controls
60 lines (60 loc) · 1.54 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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"_description": "Baseline cifar10 image classification",
"adhoc": null,
"attack": {
"knowledge": "white",
"kwargs": {
"batch_size": 1,
"eps": 0.031,
"eps_step": 0.007,
"max_iter": 20,
"num_random_init": 1,
"random_eps": false,
"targeted": false,
"verbose": false
},
"module": "patch_loss_gradient",
"name": "CustomAttack",
"use_label": true
},
"dataset": {
"batch_size": 64,
"framework": "numpy",
"module": "armory.data.datasets",
"name": "cifar10"
},
"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": "patch_loss_gradient_model",
"name": "get_art_model",
"weights_file": null,
"wrapper_kwargs": {}
},
"scenario": {
"kwargs": {},
"module": "armory.scenarios.image_classification",
"name": "ImageClassificationTask"
},
"sysconfig": {
"docker_image": "twosixarmory/pytorch:0.12.3",
"external_github_repo": null,
"gpus": "all",
"local_repo_path": "twosixlabs/fork/armory-example/tutorial",
"output_dir": null,
"output_filename": null,
"use_gpu": false
}
}