RT-DETR icon indicating copy to clipboard operation
RT-DETR copied to clipboard

where is Uncertainty minimal query selection?

Open zhangchbin opened this issue 1 year ago • 3 comments

Thanks to the authors' work. I can not find the uncertainty minimal query selection module in the pytorch code. It uses a classification score to select tokens, as shown in https://github.com/lyuwenyu/RT-DETR/blob/main/rtdetr_pytorch/src/zoo/rtdetr/rtdetr_decoder.py#L488C1-L489C1

zhangchbin avatar Jun 06 '24 07:06 zhangchbin

I have the same confusion. In this code, the selection criteria for the first (num_queries=300) objects seem to be just classification scores, rather than combining classification and localization as the author said.

GluttonK avatar Jun 06 '24 15:06 GluttonK

hello, do you find the related code?

1999zsh avatar Aug 28 '24 13:08 1999zsh

Hi, I think it is this part https://github.com/lyuwenyu/RT-DETR/blob/14971513a5ef805edaf434af1a11403d2f1a9036/rtdetr_pytorch/src/zoo/rtdetr/rtdetr_criterion.py#L111. The authors mentioned they used it for the classification loss

SebastianJanampa avatar Sep 27 '24 03:09 SebastianJanampa