IDEA-Research / DN-DETR

[CVPR 2022 Oral] Official implementation of DN-DETR
Apache License 2.0
530 stars 57 forks source link

How do you solve the problem that the number of noising queries can't be same in a batch #8

Closed volcanolee4 closed 2 years ago

volcanolee4 commented 2 years ago

The number of Ground Truth is different in different images, so the number of noising queries can't be same for the images in a same batch, how do you solve this problem?

FengLi-ust commented 2 years ago

There are 2 ways to solve this problem. In DN-DETR, we pad the noising queries in a batch to the same length. In DINO, we further propose a more efficient method named dynamic denoising groups, you can refer to DINO for more details. Thank you.

volcanolee4 commented 2 years ago

Ok! Thanks for your reply!