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.1k stars 230 forks source link

Is w&h ratio in propasals a hyperparameter? #178

Open TsingWei opened 1 year ago

TsingWei commented 1 year ago

I found the wh is hard-coded and fixed by default in gen_encoder_output_proposals(). Have you tried the settings of different size ratios? I noticed there is an option for learned wh but no results were provided in the paper (since the original DeformableDETR). Maybe it is not sensitive?

HaoZhang534 commented 1 year ago

We did not try it, but our method learns a box offset on the proposed boxes. I guess this has a similar effect as learned w and h.