mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

Bug in MultiScaleDeformableAttention???

Open YangHan-Morningstar opened this issue 3 years ago • 1 comments

Checklist

  1. In DefromableDETRDecoder, reference points of each query are calculated through sigmoid function, which means the range of them is [0,1]. However, in class MultiScaleDeformableAttention, the offsets are divided by size of each feature maps and the range of them is uncontrollable. The final range of reference points is not in [0,1], I do think it's weird and will be harmful for training.

YangHan-Morningstar avatar May 21 '22 01:05 YangHan-Morningstar

Hi~, thanks for your feedback, @jshilong could have a look.

HAOCHENYE avatar May 21 '22 11:05 HAOCHENYE