Focus-DETR-mindspore icon indicating copy to clipboard operation
Focus-DETR-mindspore copied to clipboard

What is the ground truth for training?

Open rginpan opened this issue 1 year ago • 3 comments

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

rginpan avatar Sep 06 '23 08:09 rginpan

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

linxid avatar Sep 07 '23 01:09 linxid

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.

rginpan avatar Sep 07 '23 02:09 rginpan

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

linxid avatar Sep 11 '23 13:09 linxid