Hyperparticle / one-pixel-attack-keras

Keras implementation of "One pixel attack for fooling deep neural networks" using differential evolution on Cifar10 and ImageNet
https://arxiv.org/abs/1710.08864
MIT License
1.22k stars 214 forks source link

Bug on attack_all function #16

Closed falcaopetri closed 5 years ago

falcaopetri commented 5 years ago

The previous commit ae232d7 partially fixes some wrong attributes usages. One usage is still not fixed, and is triggered when calling attack_all() with targeted=True:

https://github.com/Hyperparticle/one-pixel-attack-keras/blob/13d2587e49e73e5d944d2a276de6a54300b103ae/attack.py#L114-L115

Hyperparticle commented 5 years ago

Thanks for the heads-up!