PatrickTUM / UnCRtainTS

https://patricktum.github.io/cloud_removal/
47 stars 3 forks source link

How is the aleatoric uncertainty map calculated? #6

Closed try-agaaain closed 7 months ago

try-agaaain commented 7 months ago

Hello @PatrickTUM , Thank you for your great work!

In practical scenarios, how is the aleatoric uncertainty map calculated? According to the description in the paper, aleatoric uncertainty prediction comes from the diagonal covariance matrix.

image

So, is the Aleatoric uncertainty map calculated based on the network output results? Or if it is predicted by the network, how should the corresponding loss function be designed?

PatrickTUM commented 7 months ago

Hi @try-agaaain,

great seeing you interested in our work! The aleatoric uncertainty map is directly predicted by the network itself! The network's predictions at inference time, at each pixel (i,j) of the output map, are given by

You can find the architecture's outputs defined here and the NLL loss function is defined here (but also see the other lines of code in said file).

Hoping this helps! Patrick