Is there a way to plot the histogram of the gradients ? #1644
-
|
I try to find a mount point for hooks to plot the histogram of the gradients . Just similiar to the question.
And, the way proposed by @zhouzaida
likely can't get the Visualizer easily. So, is there a way to do this? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
TrayfourYu
Apr 17, 2025
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TrayfourYu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I think i figure it out. Just customlize a new
DistributedDataParallellclass override fromMMDistributedDataParallelandVisualizeris available thoughget_current_instance(). Then use theadd_histogramof theTensorboardVisBackend.