Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How get the vriance visualization #22

Open
luckwyy opened this issue Sep 30, 2021 · 1 comment
Open

How get the vriance visualization #22

luckwyy opened this issue Sep 30, 2021 · 1 comment

Comments

@luckwyy
Copy link

luckwyy commented Sep 30, 2021

Fig 3

@layumi
Copy link
Owner

layumi commented Oct 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants