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
498 stars 86 forks source link

Question about some configuration in DAB-Deformable DETR. #54

Open volgachen opened 1 year ago

volgachen commented 1 year ago

Thanks for your great work. I have some questions about the implementation of DAB-Deformable DETR.

  1. In DAB-DETR the position embedding is sinehw, while in DAB-Deformable-DETR it uses the original sine. Is there any reason for this difference?
  2. I found the configuration uses a larger dim_feedforward=2048. How does it performance with 1024?
  3. Have you experimented with the two-stage setting in Deformable-DETR. Could you share the results?
SlongLiu commented 1 year ago
  1. we use the default pe as that in deformable detr to keep a fair comparison with it.
  2. it performs better than the baseline deformable detr as well.
  3. yes. please refer to detrex: https://github.com/IDEA-Research/detrex/tree/main/projects/dab_deformable_detr . we got 49.5AP with two-stage.