This script generates adversarial examples for convolutional neural networks
using fast gradient sign method
presented in Explaining and harnessing adversarial examples
(Goodfellow et al. 2015).
This script requires trained OverFeat network.
Running the example.lua
or the snippet will automatically create the model
and download other files.
git clone https://github.com/jhjin/overfeat-torch
cd overfeat-torch
. install.sh
th run.lua
mv model.t7 bee.jpg overfeat_label.lua ..
cd ..
The example script predicts the output category of original and its adversarial examples.
th example.lua