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

I have a question #3

Closed
MingfeiCh opened this issue May 3, 2021 · 2 comments
Closed

I have a question #3

MingfeiCh opened this issue May 3, 2021 · 2 comments

Comments

@MingfeiCh
Copy link

Can you explain why you use noise = 0.9 * grad + noise instead of grad = 0.9 * grad + noise in line 94 of face_attack.py?

Thank you!

@ppwwyyxx
Copy link
Owner

ppwwyyxx commented May 3, 2021

Changing the line to grad = 0.9 * grad + noise will make it useless because the variable grad is not used after that line.

@ppwwyyxx ppwwyyxx closed this as completed May 3, 2021
@MingfeiCh
Copy link
Author

Oh, I understand this operation! Thanks for your reply!

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