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

[Docs] How to get the gradient of original inputs? #1077

Open
YunHao-Von opened this issue Nov 23, 2024 · 0 comments
Open

[Docs] How to get the gradient of original inputs? #1077

YunHao-Von opened this issue Nov 23, 2024 · 0 comments

Comments

@YunHao-Von
Copy link

Branch

master branch https://mmrotate.readthedocs.io/en/latest/

📚 The doc issue

您好,我是做对抗攻击的,故而需要计算模型对于Inputs的梯度以进行攻击,但是因为封装问题,似乎很难获取模型对于inputs的梯度,请问如何得到模型对于输入的梯度?

Suggest a potential alternative/fix

No response

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

1 participant