-
Notifications
You must be signed in to change notification settings - Fork 826
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
Combine Acktr model with grad-cam #268
Comments
but code didnt get in this function on the enjoy script , if I remove the code "with torch.no_grad():" that it gives me the bug: Traceback (most recent call last): can anyone help me? Thank u so much. @ikostrikov Need ur help. I stuck on this for a long time. |
did you solve this? |
I am new on this code, My question is that if i want to get the grad on the CNN layer by using register_backward_hook function. Should I remove the code "with torch.no_grad():" when training this model?
I modify the other grad-cam code but still get bug when I call "register_backward_hook" function.
Is there any one can help me or any example?
My English is not good, Thank u!
The text was updated successfully, but these errors were encountered: