File size: 16,637 Bytes
d38bce3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
.
├── LICENSE
├── README.md
├── adversary_examples
│   ├── cifar_advexample_orig.png
│   └── cifar_advexample_pgd.png
├── deeprobust
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-36.pyc
│   │   └── __init__.cpython-37.pyc
│   ├── graph
│   │   ├── README.md
│   │   ├── __init__.py
│   │   ├── __init__.pyc
│   │   ├── __pycache__
│   │   │   ├── __init__.cpython-36.pyc
│   │   │   ├── __init__.cpython-37.pyc
│   │   │   ├── black_box.cpython-36.pyc
│   │   │   ├── black_box.cpython-37.pyc
│   │   │   ├── utils.cpython-36.pyc
│   │   │   └── utils.cpython-37.pyc
│   │   ├── black_box.py
│   │   ├── data
│   │   │   ├── __init__.py
│   │   │   ├── __pycache__
│   │   │   │   ├── __init__.cpython-36.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── attacked_data.cpython-36.pyc
│   │   │   │   ├── attacked_data.cpython-37.pyc
│   │   │   │   ├── dataset.cpython-36.pyc
│   │   │   │   └── dataset.cpython-37.pyc
│   │   │   ├── attacked_data.py
│   │   │   └── dataset.py
│   │   ├── defense
│   │   │   ├── __init__.py
│   │   │   ├── __pycache__
│   │   │   │   ├── __init__.cpython-36.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── gcn.cpython-36.pyc
│   │   │   │   ├── gcn.cpython-37.pyc
│   │   │   │   ├── gcn_preprocess.cpython-36.pyc
│   │   │   │   ├── gcn_preprocess.cpython-37.pyc
│   │   │   │   ├── r_gcn.cpython-36.pyc
│   │   │   │   └── r_gcn.cpython-37.pyc
│   │   │   ├── adv_training.py
│   │   │   ├── gcn.py
│   │   │   ├── gcn_preprocess.py
│   │   │   ├── r_gcn.py
│   │   │   └── r_gcn.py.backup
│   │   ├── examples
│   │   │   ├── __pycache__
│   │   │   │   ├── test_adv_train_evasion.cpython-36.pyc
│   │   │   │   ├── test_adv_train_evasion.cpython-37.pyc
│   │   │   │   ├── test_adv_train_poisoning.cpython-36.pyc
│   │   │   │   ├── test_adv_train_poisoning.cpython-37.pyc
│   │   │   │   ├── test_adv_training.cpython-36.pyc
│   │   │   │   ├── test_dice.cpython-36.pyc
│   │   │   │   ├── test_dice.cpython-37.pyc
│   │   │   │   ├── test_fgsm.cpython-36.pyc
│   │   │   │   ├── test_fgsm.cpython-37.pyc
│   │   │   │   ├── test_gcn.cpython-36.pyc
│   │   │   │   ├── test_gcn.cpython-37.pyc
│   │   │   │   ├── test_gcn_jaccard.cpython-36.pyc
│   │   │   │   ├── test_gcn_jaccard.cpython-37.pyc
│   │   │   │   ├── test_gcn_svd.cpython-36.pyc
│   │   │   │   ├── test_gcn_svd.cpython-37.pyc
│   │   │   │   ├── test_mettack.cpython-36.pyc
│   │   │   │   ├── test_mettack.cpython-37.pyc
│   │   │   │   ├── test_nettack.cpython-36.pyc
│   │   │   │   ├── test_nettack.cpython-37.pyc
│   │   │   │   ├── test_nipa.cpython-36.pyc
│   │   │   │   ├── test_nipa.cpython-37.pyc
│   │   │   │   ├── test_random.cpython-36.pyc
│   │   │   │   ├── test_random.cpython-37.pyc
│   │   │   │   ├── test_rgcn.cpython-36.pyc
│   │   │   │   ├── test_rgcn.cpython-37.pyc
│   │   │   │   ├── test_rl_s2v.cpython-36.pyc
│   │   │   │   ├── test_rl_s2v.cpython-37.pyc
│   │   │   │   ├── test_rnd.cpython-36.pyc
│   │   │   │   ├── test_rnd.cpython-37.pyc
│   │   │   │   └── test_topology_attack.cpython-36.pyc
│   │   │   ├── test_adv_train_evasion.py
│   │   │   ├── test_adv_train_poisoning.py
│   │   │   ├── test_dice.py
│   │   │   ├── test_fgsm.py
│   │   │   ├── test_gcn.py
│   │   │   ├── test_gcn_jaccard.py
│   │   │   ├── test_gcn_svd.py
│   │   │   ├── test_mettack.py
│   │   │   ├── test_nettack.py
│   │   │   ├── test_nipa.py
│   │   │   ├── test_random.py
│   │   │   ├── test_rgcn.py
│   │   │   ├── test_rl_s2v.py
│   │   │   ├── test_rnd.py
│   │   │   └── test_topology_attack.py
│   │   ├── global_attack
│   │   │   ├── __init__.py
│   │   │   ├── __pycache__
│   │   │   │   ├── __init__.cpython-36.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── base_attack.cpython-36.pyc
│   │   │   │   ├── base_attack.cpython-37.pyc
│   │   │   │   ├── dice.cpython-36.pyc
│   │   │   │   ├── dice.cpython-37.pyc
│   │   │   │   ├── mettack.cpython-36.pyc
│   │   │   │   ├── mettack.cpython-37.pyc
│   │   │   │   ├── nipa.cpython-36.pyc
│   │   │   │   ├── random.cpython-36.pyc
│   │   │   │   ├── random.cpython-37.pyc
│   │   │   │   └── topology_attack.cpython-36.pyc
│   │   │   ├── base_attack.py
│   │   │   ├── dice.py
│   │   │   ├── mettack.py
│   │   │   ├── nipa.py
│   │   │   ├── random.py
│   │   │   └── topology_attack.py
│   │   ├── requirements.txt
│   │   ├── rl
│   │   │   ├── __pycache__
│   │   │   │   ├── agent.cpython-36.pyc
│   │   │   │   ├── agent.cpython-37.pyc
│   │   │   │   ├── cmd_args.cpython-36.pyc
│   │   │   │   ├── cmd_args.cpython-37.pyc
│   │   │   │   ├── env.cpython-36.pyc
│   │   │   │   ├── env.cpython-37.pyc
│   │   │   │   ├── nipa.cpython-36.pyc
│   │   │   │   ├── nipa.cpython-37.pyc
│   │   │   │   ├── nipa_args.cpython-37.pyc
│   │   │   │   ├── nipa_config.cpython-36.pyc
│   │   │   │   ├── nipa_config.cpython-37.pyc
│   │   │   │   ├── nipa_env.cpython-36.pyc
│   │   │   │   ├── nipa_env.cpython-37.pyc
│   │   │   │   ├── nipa_nstep_replay_mem.cpython-36.pyc
│   │   │   │   ├── nipa_q_net_node.cpython-36.pyc
│   │   │   │   ├── nipa_q_net_node.cpython-37.pyc
│   │   │   │   ├── nstep_replay_mem.cpython-36.pyc
│   │   │   │   ├── nstep_replay_mem.cpython-37.pyc
│   │   │   │   ├── q_net_node.cpython-36.pyc
│   │   │   │   ├── q_net_node.cpython-37.pyc
│   │   │   │   ├── rl_s2v_config.cpython-36.pyc
│   │   │   │   └── rl_s2v_config.cpython-37.pyc
│   │   │   ├── env.py
│   │   │   ├── nipa.py
│   │   │   ├── nipa_config.py
│   │   │   ├── nipa_env.py
│   │   │   ├── nipa_nstep_replay_mem.py
│   │   │   ├── nipa_q_net_node.py
│   │   │   ├── nstep_replay_mem.py
│   │   │   ├── q_net_node.py
│   │   │   ├── rl_s2v.py
│   │   │   ├── rl_s2v_config.py
│   │   │   └── rl_s2v_env.py
│   │   ├── targeted_attack
│   │   │   ├── __init__.py
│   │   │   ├── __pycache__
│   │   │   │   ├── __init__.cpython-36.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── base_attack.cpython-36.pyc
│   │   │   │   ├── base_attack.cpython-37.pyc
│   │   │   │   ├── evaluation.cpython-36.pyc
│   │   │   │   ├── fgsm.cpython-36.pyc
│   │   │   │   ├── fgsm.cpython-37.pyc
│   │   │   │   ├── nettack.cpython-36.pyc
│   │   │   │   ├── nettack.cpython-37.pyc
│   │   │   │   ├── rl_s2v.cpython-36.pyc
│   │   │   │   ├── rnd.cpython-36.pyc
│   │   │   │   └── rnd.cpython-37.pyc
│   │   │   ├── base_attack.py
│   │   │   ├── evaluation.py
│   │   │   ├── fgsm.py
│   │   │   ├── nettack.py
│   │   │   ├── rl_s2v.py
│   │   │   └── rnd.py
│   │   └── utils.py
│   └── image
│       ├── README.md
│       ├── __init__.py
│       ├── __pycache__
│       │   ├── CNNmodel.cpython-36.pyc
│       │   ├── PGD.cpython-36.pyc
│       │   ├── __init__.cpython-36.pyc
│       │   ├── __init__.cpython-37.pyc
│       │   ├── attack.cpython-36.pyc
│       │   ├── deepfool.cpython-36.pyc
│       │   ├── evaluation_attack.cpython-36.pyc
│       │   ├── fgsm.cpython-36.pyc
│       │   ├── lbfgs.cpython-36.pyc
│       │   ├── mnist_train.cpython-36.pyc
│       │   ├── optimizer.cpython-36.pyc
│       │   └── utils.cpython-36.pyc
│       ├── adversary_examples
│       │   ├── advexample.png
│       │   ├── advexample_fgsm.png
│       │   ├── advexample_pgd.png
│       │   ├── cifar_advexample_orig.png
│       │   ├── cifar_advexample_pgd.png
│       │   ├── deepfool_diff.png
│       │   ├── deepfool_orig.png
│       │   ├── deepfool_pert.png
│       │   ├── deepfool_result.png
│       │   ├── imageexample.png
│       │   ├── test.jpg
│       │   ├── test.png
│       │   ├── test1.jpg
│       │   ├── test_im1.jpg
│       │   └── test_im2.jpg
│       ├── attack
│       │   ├── BPDA.py
│       │   ├── Nattack.py
│       │   ├── Universal.py
│       │   ├── YOPOpgd.py
│       │   ├── __init__.py
│       │   ├── __pycache__
│       │   │   ├── YOPOpgd.cpython-36.pyc
│       │   │   ├── __init__.cpython-36.pyc
│       │   │   ├── __init__.cpython-37.pyc
│       │   │   ├── attack.cpython-36.pyc
│       │   │   ├── base_attack.cpython-36.pyc
│       │   │   ├── base_attack.cpython-37.pyc
│       │   │   ├── cw.cpython-36.pyc
│       │   │   ├── deepfool.cpython-36.pyc
│       │   │   ├── fgsm.cpython-36.pyc
│       │   │   ├── lbfgs.cpython-36.pyc
│       │   │   └── pgd.cpython-36.pyc
│       │   ├── base_attack.py
│       │   ├── cw.py
│       │   ├── deepfool.py
│       │   ├── fgsm.py
│       │   ├── l2_attack.py
│       │   ├── lbfgs.py
│       │   ├── onepixel.py
│       │   └── pgd.py
│       ├── config.py
│       ├── data
│       ├── defense
│       │   ├── LIDclassifier.py
│       │   ├── TherEncoding.py
│       │   ├── YOPO.py
│       │   ├── __init__.py
│       │   ├── __pycache__
│       │   │   ├── TherEncoding.cpython-36.pyc
│       │   │   ├── YOPO.cpython-36.pyc
│       │   │   ├── __init__.cpython-36.pyc
│       │   │   ├── base_defense.cpython-36.pyc
│       │   │   ├── fgsmtraining.cpython-36.pyc
│       │   │   ├── pgdtraining.cpython-36.pyc
│       │   │   ├── trade.cpython-36.pyc
│       │   │   └── trades.cpython-36.pyc
│       │   ├── advexample_pgd.png
│       │   ├── base_defense.py
│       │   ├── fast.py
│       │   ├── fgsmtraining.py
│       │   ├── pgdtraining.py
│       │   ├── test_PGD_defense.py
│       │   ├── trade.py
│       │   └── trades.py
│       ├── evaluation_attack.py
│       ├── netmodels
│       │   ├── CNN.py
│       │   ├── CNN_multilayer.py
│       │   ├── YOPOCNN.py
│       │   ├── __init__.py
│       │   ├── __pycache__
│       │   │   ├── CNN.cpython-36.pyc
│       │   │   ├── CNNmodel.cpython-36.pyc
│       │   │   ├── YOPOCNN.cpython-36.pyc
│       │   │   ├── __init__.cpython-36.pyc
│       │   │   ├── resnet.cpython-36.pyc
│       │   │   └── train_model.cpython-36.pyc
│       │   ├── resnet.py
│       │   ├── train_model.py
│       │   └── train_resnet.py
│       ├── optimizer.py
│       ├── synset_words.txt
│       └── utils.py
├── examples
│   ├── graph
│   │   ├── test_adv_train_evasion.py
│   │   ├── test_adv_train_poisoning.py
│   │   ├── test_dice.py
│   │   ├── test_fgsm.py
│   │   ├── test_gcn.py
│   │   ├── test_gcn_jaccard.py
│   │   ├── test_gcn_svd.py
│   │   ├── test_mettack.py
│   │   ├── test_nettack.py
│   │   ├── test_nipa.py
│   │   ├── test_random.py
│   │   ├── test_rgcn.py
│   │   ├── test_rl_s2v.py
│   │   └── test_rnd.py
│   └── image
│       ├── __init__.py
│       ├── __pycache__
│       │   ├── __init__.cpython-36.pyc
│       │   └── test_cw.cpython-36.pyc
│       ├── test1.py
│       ├── test_PGD.py
│       ├── test_cw.py
│       ├── test_deepfool.py
│       ├── test_fgsm.py
│       ├── test_lbfgs.py
│       ├── test_nattack.py
│       ├── test_onepixel.py
│       ├── test_pgdtraining.py
│       ├── test_trade.py
│       ├── test_train.py
│       └── testprint_mnist.py
├── get-pip.py
├── requirements.txt
├── setup.py
├── tree.md
└── tutorials
    ├── __init__.py
    ├── __pycache__
    │   ├── __init__.cpython-36.pyc
    │   └── test_cw.cpython-36.pyc
    ├── test1.py
    ├── test_PGD.py
    ├── test_cw.py
    ├── test_deepfool.py
    ├── test_fgsm.py
    ├── test_lbfgs.py
    ├── test_nattack.py
    ├── test_onepixel.py
    ├── test_pgdtraining.py
    ├── test_trade.py
    ├── test_train.py
    └── testprint_mnist.py

33 directories, 297 files