Seg-Uncertainty icon indicating copy to clipboard operation
Seg-Uncertainty copied to clipboard

How get the vriance visualization

Open luckwyy opened this issue 2 years ago • 1 comments

Fig 3

luckwyy avatar Sep 30 '21 04:09 luckwyy

Hi @luckywyy , Thanks for your attention on our work. I use the KL distance between the two classifier prediction. Since KL distance is non-negative, I further use log(1+10* KL) to normalise the distance in [0,1]. for visualization only. And then I use the package, matplot, to show the heat map.

The relevant code can be found at https://github.com/layumi/Seg-Uncertainty/blob/master/evaluate_cityscapes.py#L216-L217

layumi avatar Oct 05 '21 03:10 layumi