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

Is it a reshaping of the gt density maps needed? #15

Open
ciampluca opened this issue Aug 14, 2024 · 2 comments
Open

Is it a reshaping of the gt density maps needed? #15

ciampluca opened this issue Aug 14, 2024 · 2 comments

Comments

@ciampluca
Copy link

Hi, thank you for your work.

It seems that during the data loading, the gt density maps should be in the folder gt_density_map_adaptive_512_512_object_VarV2

However, this folder does not exist in the original dataset. I guess that they are the reshaped original density maps. Did you pad the density masks? What kind of padding did you use? Did you reshape density maps in some other ways?

Thank you

@ciampluca ciampluca changed the title Is there a reshaping of the gt density maps needed? Is it a reshaping of the gt density maps needed? Aug 14, 2024
@jerpelhan
Copy link
Owner

Yes, that's correct! If you want to train the model from scratch, refer to LOCA for all the necessary steps to generate density maps. LOCA uses adaptively changed Gaussians based on the width and height of the exemplars in the training stage. However, for evaluation, everything should work properly with the original density maps. I haven't checked, but I'm fairly certain it should.

@ciampluca
Copy link
Author

Yes, that's correct! If you want to train the model from scratch, refer to LOCA for all the necessary steps to generate density maps. LOCA uses adaptively changed Gaussians based on the width and height of the exemplars in the training stage. However, for evaluation, everything should work properly with the original density maps. I haven't checked, but I'm fairly certain it should.

Thank you for your answer.
I think that it is needed not only for training, but also for other scripta such as fscd_0shot_clip.sh

Btw, I will follow the code of LOCA, thank you again.

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