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.21k stars 213 forks source link

Demonstrate attack on vision transformers #26

Open binbbaz opened 2 years ago

binbbaz commented 2 years ago

I trained the transformer architecture in the below github repo: https://github.com/keras-team/keras-io/blob/master/examples/vision/image_classification_with_vision_transformer.py

I also have a .h5 file of the saved model added to the networks/models

How do I try the attack on it?

Thanks