deep_uncertainty_estimation
deep_uncertainty_estimation copied to clipboard
passing the varience to the function compute_log_likelihood() in file eval.py
Hello ,
thank you very much for your effort,
I have a question, in file eval.py the function compute_preds(), returns the variance of the model "model_variance", then the variable "outputs_variance" is passed to the function compute_log_likelihood() as "sigma" yet in the function compute_log_likelihood(), the function torch.distributions.normal.Normal() takes "loc" which is the mean of the distribution and "scale" which is the standard deviation yet you are passing the variance not the std to "scale"??
@mattiasegu
Hi @MoHassoubah, you are right, it should be the std! I fixed this already in the version of the repo on my github: https://github.com/mattiasegu/uncertainty_estimation_deep_learning