Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MI-FGSM attack #10

Merged
merged 3 commits into from
Oct 22, 2020
Merged

Add MI-FGSM attack #10

merged 3 commits into from
Oct 22, 2020

Conversation

zhuangzi926
Copy link
Contributor

Description

Add a new white-box attack algorithm MI-FGSM, which won the first places in NIPS 2017 Non-targeted Adversarial Attack and Targeted Adversarial Attack competitions.

Type of change

  • a new mifgsm.py under torchattacks/attacks/
  • import statements in torchattacks/init.py and torchattacks/attacks/init.py

Test

I run this attack on ubuntu18+python3.7.7+pytorch1.6, and successfully generated 6841/10000 targeted adv images and 1400/10000 untarged adv images in cifar10 test set, with eps=8/255, decay=0.1, steps=5.

@Harry24k
Copy link
Owner

Great work! Thanks for your contribution.

@Harry24k Harry24k merged commit 3258f50 into Harry24k:master Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants