IDEA-Research / DAB-DETR

[ICLR 2022] Official implementation of the paper "DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR"
Apache License 2.0
501 stars 86 forks source link

Has the 'look forward' strategy been used in DAB-DETR? #37

Closed volcanolee4 closed 2 years ago

volcanolee4 commented 2 years ago

Thanks for your work!

It seems that the 'look forward twice' strategy mentioned in DINO has been implemented in DAB DETR, even in Deformable DETR. Because I notice that the iterative regression operation is implemented in both dab_deformable_deter.py and deformable_transformer.py.

Is there anything wrong with my understanding?

Looking forward to your reply!

SlongLiu commented 2 years ago

Yes, the deformable detr has a variant with iterative bounding box refinement. However, our look forward twice is a little different from the operation of the original iterative bounding box refinement. The key difference comes from the detach operator.