Hyperparticle / one-pixel-attack-keras

Keras implementation of "One pixel attack for fooling deep neural networks" using differential evolution on Cifar10 and ImageNet

Home Page:https://arxiv.org/abs/1710.08864

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i calculate the value of success rate for target attack?

opened this issue · comments

Hello, could you please tell me about how to calculate success rate for LeNet in case of targeted attack?
is there any formulas?
thanks!

The success rate is simply the images that successfully fooled the network divided by the total number of attack images: success_images / total_images. The calculation is performed by attack_stats() inside helper.py.

Does that answer your question?