-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclbd_config_mixup.json
79 lines (79 loc) · 2.18 KB
/
clbd_config_mixup.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"_description": "GTSRB poison image classification, contributed by MITRE Corporation",
"adhoc": {
"detection_kwargs": {
"nb_clusters": 2,
"nb_dims": 43,
"reduce": "PCA"
},
"experiment_id": 0,
"poison_dataset": true,
"source_class": 1,
"split_id": 0,
"target_class": 2,
"train_epochs": 20,
"use_poison_filtering_defense": false
},
"attack": {
"knowledge": "black",
"kwargs": {
"backdoor_kwargs": {
"poison_module": "art.attacks.poisoning.perturbations",
"poison_type": "pattern"
},
"eps": 2.6,
"eps_step": 0.1,
"max_iter": 100,
"n_classes": 43,
"norm": 2,
"num_random_init": 0,
"pp_poison": 0.1,
"target": 2
},
"module": "armory.art_experimental.attacks.poison_loader_clbd",
"name": "poison_loader_clbd",
"type": "clbd",
"use_adversarial_trainer": false
},
"dataset": {
"batch_size": 512,
"framework": "numpy",
"module": "armory.data.datasets",
"name": "german_traffic_sign"
},
"defense": {
"kwargs": {
"method": "mixup"
},
"module": "my_defenses.augmentation",
"name": "Augmentation",
"type": "Preprocessor"
},
"metric": null,
"model": {
"fit": true,
"fit_kwargs": {},
"model_kwargs": {},
"module": "my_models.cnn_poison_pytorch_r2",
"name": "get_art_model",
"weights_file": null,
"wrapper_kwargs": {}
},
"scenario": {
"kwargs": {},
"module": "example_scenarios.poisoning_gtsrb_clbd_compat",
"name": "GTSRB_CLBD"
},
"sysconfig": {
"docker_image": "twosixarmory/pytorch-poison:0.12.3",
"external_github_repo": [
"twosixlabs/armory-example@master",
"devnkong/armory-submission@master"
],
"gpus": "all",
"output_dir": null,
"output_filename": null,
"set_pythonhashseed": true,
"use_gpu": false
}
}