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

What is the ground truth for training? #1

Open
rginpan opened this issue Sep 6, 2023 · 3 comments
Open

What is the ground truth for training? #1

rginpan opened this issue Sep 6, 2023 · 3 comments

Comments

@rginpan
Copy link

rginpan commented Sep 6, 2023

Thanks for your work. When training the focal loss and multi-category score predictor, do you need the foreground and background label (ground truth)

@linxid
Copy link
Owner

linxid commented Sep 7, 2023

We use COCO label to generate foreground and background label. Pytorch code is avaliable in https://github.com/IDEA-Research/detrex/blob/main/projects/focus_detr/modeling/two_stage_criterion.py

@rginpan
Copy link
Author

rginpan commented Sep 7, 2023

Thanks for your reply, about multi-category score predictor, does it mean select the top-k score in foreground token? "multi-category" is a little bit confused me.

@linxid
Copy link
Owner

linxid commented Sep 11, 2023

"Multi-category score predictor " is similar to topk token selector in the Encoder of DINO.

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