Creating adversarial images for attacking a neural net
Python 3 required.
Use:
- Run 'pip install -r requirements.txt' to install dependencies.
- Navigate to src folder, type the below to run. python3 attack.py
- This will generate an image titled attack.jpg that is subtly different from the image titled orig.jpg, and return an input of frilled lizard, Chlamydosaurus kingi.
- If you wish to test with other images, simply replace orig.jpg with a new image. Square images are best.