- What is this repo about?
- Quick setup
- Fast Gradient Sign method
- Adversarial example generator
- Let's connect!
PyTorch code and streamlit app that demonstrate how easy it is to break deep learning models in computer vision. More precisely, Inception V3.
If you do not know what adversarial examples are go check my blog post.
π Adversarial examples to break deep learning models
Also available in Medium and in Hackernoon
Create a virtualenv with your preferred tool (virtualenv
, conda
, poetry
)
and activate it.
Then install the code as a local package
$ (venv) pip install .
We use the vanilla fast gradient sign method
And its iterative version.
In the code you can find the "magic" that transforms a nice puppy into a paper towel.
π Streamlit app to generate adversarial examples
If you want to learn more about real-world ML topics and become a better data scientist
π Subscribe to the datamachines newsletter.