This project is a simple PyTorch implementation of "One pixel attack for fooling deep neural networks" on the Cifar10 dataset. The code is developed upon Pytorch-cifar and one-pixel-attack-keras.
model | Accuracy on the test set | Success Rate (1 pixel, untargeted) | Success Rate (3 pixels, untargeted) |
---|---|---|---|
vgg16 | 93.42% | ~50.0% | ~93.0% |
res18 | 94.94% | ~27.7% | ~78.0% |
res101 | 94.51% | ~19.0% | ~63.3% |