You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand the function of inspect_grad. It doesn't seem to be used in your running script.
Could you please to explain it?
Thanks!
Thanks for your interest!
Yes,inspect_grad only works during training to record the gradients in the collection, e.g., the gradient of every encoder layer. Then, you can easily watch the gradient flow in Tensorboar. Please refer to:
dlcl/fairseq/models/dlcl_transformer.py
Line 149 in c632ee2
Hey man,
I don't understand the function of
inspect_grad
. It doesn't seem to be used in your running script.Could you please to explain it?
Thanks!
The text was updated successfully, but these errors were encountered: