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

What is fgsm function in corruptions.py file? #62

Open
mirzaim opened this issue Apr 30, 2023 · 1 comment
Open

What is fgsm function in corruptions.py file? #62

mirzaim opened this issue Apr 30, 2023 · 1 comment

Comments

@mirzaim
Copy link

mirzaim commented Apr 30, 2023

In the documentation of ImageNet-C Corruption Functions, There are 19 functions.
But in the implementation, there is another function called fgsm that has a weird implementation.
Anyone could explain it to me what is it?

Thanks.

@kkaiwwana
Copy link

fgsm stands for Fast-Gradient-Sign-Method, which is an optimization/updating method for white-box attack. It generates adversarail patterns based on gradient values (specifically, its sign, i.e. positive or negtive).

Hope you find it helpful if you still need it.

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

No branches or pull requests

2 participants