IDEA-Research / DINO

[ICLR 2023] Official implementation of the paper "DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection"
Apache License 2.0
2.08k stars 228 forks source link

How is top-k calculated? #238

Open yangtle opened 7 months ago

yangtle commented 7 months ago

In the selection of queries between the encoder and decoder in the middle position, why are two classifiers set to None? The code is in deformable_transformer.py. self.enc_out_class_embed = None self.enc_out_bbox_embed = None enc_outputs_class_unselected = self.enc_out_class_embed(output_memory) enc_outputs_coord_unselected = self.enc_out_bbox_embed(output_memory) + output_proposals

weixin0107 commented 1 week ago

I have the same question, have you figured it out?