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
There's a bug on line 81 of model.py
Should be:
self.F_accum[v] = torch.add(torch.Tensor((self.F_accum[v])), torch.pow(loglikelihood_grads[v], 2).data)
(as far as I could see for the latest versions of torch, torch.add needs an output). The way code is written self.F_accum never gets updated and the Fisher matrix is just 0.
The text was updated successfully, but these errors were encountered:
There's a bug on line 81 of model.py
Should be:
self.F_accum[v] = torch.add(torch.Tensor((self.F_accum[v])), torch.pow(loglikelihood_grads[v], 2).data)
(as far as I could see for the latest versions of torch, torch.add needs an output). The way code is written self.F_accum never gets updated and the Fisher matrix is just 0.
The text was updated successfully, but these errors were encountered: