-
-
Notifications
You must be signed in to change notification settings - Fork 429
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 MIFGSM Attack #717
Add MIFGSM Attack #717
Conversation
I've incorporated the test code and successfully passed checks such as black, flake8, and mypy. I hop that these could be beneficial to you. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #717 +/- ##
==========================================
+ Coverage 98.45% 98.46% +0.01%
==========================================
Files 55 56 +1
Lines 3495 3529 +34
==========================================
+ Hits 3441 3475 +34
Misses 54 54 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This code implements the fixed epsilon attack, MI-FGSM (https://openaccess.thecvf.com/content_cvpr_2018/html/Dong_Boosting_Adversarial_Attacks_CVPR_2018_paper.html).
MI-FGSM is a classic method that demonstrates superior and robust performance compared to PGD. It's worth noting that MI-FGSM serves as a baseline for many SOTA research papers. Therefore, implementing MI-FGSM proves to be a convenient choice for researchers. Please feel free to share any suggestions for further improvements to the code.
(I close the last request, because I rebase the code by mistakes.)