Hello all,
Hopefully a simple question but I’m after accessing the gradients of network in order to create charts similar to what Sylvain did here. I’d be happy to get the absolute value of the gradients for each layer of my network.
Note: I’m not after the weights via, say, something like learn.model.parameters()
which I see often referenced on PyTorch forums when people ask for the gradients but rather the actual gradients for each mini-batch as we are training (I apologise in advance if I’ve misunderstood something).
Thanks,
Mark