- 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
Create a virtualenv with your preferred tool (virtualenv
, conda
, poetry
)
and activate it.
Then
$ (venv) pip install -r requirements.txt
$ (venv) export PYTHONPATH="."
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.