Closed kishore-greddy closed 3 years ago
Hi @kishore-greddy ,
good call, the torch.exp
should be there as well. I'll fix the uploaded code asap.
Anyway, I've double checked the results and the numbers obtained without torch.exp
are almost identical to the correct implementation (the predictive uncertainty seems dominant w.r.t. empirical one).
Thanks for pointing it out :+1:
No problem :) , Thank you for fixing it.
Hey @mattpoggi ,
I understand that the bayesian uncertainty is calculated by adding the uncertainty from a predictive method and an empirical method, for example snap+log. However, I seem to be missing something.
However in line 216, you are taking the exponential for the log method, I believe this is because the uncertainties are in fact the \log of uncertainities.
Why do you not use the same torch.exp on the uncertainties while calculating it in the bayesian way, in line 183 above. What am I missing here?.
Thanks in advance