Skip to content

Instantly share code, notes, and snippets.

@Paulescu
Last active March 13, 2022 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Paulescu/82e322f74381ec3c7323482634f479d3 to your computer and use it in GitHub Desktop.
Save Paulescu/82e322f74381ec3c7323482634f479d3 to your computer and use it in GitHub Desktop.
# original image
url = 'https://github.com/Paulescu/adversarial-machine-learning/blob/main/images/dog.jpg?raw=true'
# FGSM parameters
epsilon = 0.09
n_steps = 9
alpha = 0.025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment