grad in model.named_parameters() are None #234
Unanswered
asudeeaydin
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Can you show me the minimul codes to reproduce your problem? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to plot the gradients of the network, but when I looped over the layers, I realized that grad was None. This made me a bit worried about the training altogether.
Maybe this is expected since a surrogate gradient function is used? In that case, is there no way to plot the gradients?
Beta Was this translation helpful? Give feedback.
All reactions