Closed jogardi closed 2 years ago
Hi @jogardi, thanks for your questions!
one way to deal with parameterized layers that are unsupported by BackPACK is to not extend
them and not pass them to the Cockpit
constructor. This workaround will fix all quantities that use first-order information. Quantities that rely on BackPACK's second-order extensions still won't work, so you have to configure your Cockpit
without them.
Re 1.: My expectation would be that, if you passed the parameters of PredHist
to the Cockpit(...)
constructor via params
, the gradient histogram cannot be evaluated because those parameters won't get individual gradients during backpropagation. Could you post an MWE that demonstrates the behavior you get?
Re 2 & 3: Thanks for the interesting pointers! We will take a look. If you're interested in submitting a PR, we can provide the relevant pointers in cockpit
's code base.
Best, Felix
I am closing this issue as it is stale. Please feel free to open it again if you have further questions.
I have cockpit mostly working except I get this warnings like this because I have not implemented backpack's batch grad for all my modules:
So as a result I am not able to get all the quantities without error. I understand backpack is central to the design of cockpit but I am fine with some things not working when I just want to prototype quickly.
My questions/requests are:
Thank you for your excellent work on this project!