open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.22k stars 9.4k forks source link

BUG in DAB-DETR when with_random_refpoints=True #11692

Open YangHan-Morningstar opened 4 months ago

YangHan-Morningstar commented 4 months ago

Hi there, when I set with_random_refpoints=True in DAB-DETR, I observe that there are still grad for xy, I print the value of xy in the iteration 0 and iteration 50 and the xy value is different, but in the paper the xy should be fixed after random init

image