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

About density map #5

Closed
simaiden opened this issue Nov 6, 2020 · 2 comments
Closed

About density map #5

simaiden opened this issue Nov 6, 2020 · 2 comments

Comments

@simaiden
Copy link

simaiden commented Nov 6, 2020

Hi, thanks for your amazing work!
I have a question about the density maps estimation. In the paper, your mentioned that didn't use precalculated density maps for ground truth annotations because of the hurt in generalization performance, so only use points annotations right? But after, i got lose because in the toy problem you said "he source density map ˆz is initialized from a uniform distribution between 0 and 0.01", and also in preprocess datasets scripts you calculate a gaussian density map.

So the doubt is if you need a precalculated density map, and in this case how can i calculate in the way you do.

Thanks!

@Boyu-Wang
Copy link
Collaborator

The gaussian density maps are generated in the preprocessing steps. They are not used in the training. You could check the data loader and loss computation for more details. We treat the binary annotation map as target distribution and compute distribution distance between predicted density map (source distribution) and target distribution.

@simaiden
Copy link
Author

simaiden commented Nov 8, 2020

The gaussian density maps are generated in the preprocessing steps. They are not used in the training. You could check the data loader and loss computation for more details. We treat the binary annotation map as target distribution and compute distribution distance between predicted density map (source distribution) and target distribution.

Many thanks! I was checking the code and realize exactly what you said.

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