mmcv
mmcv copied to clipboard
Bug in MultiScaleDeformableAttention???
Checklist
- 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.
Hi~, thanks for your feedback, @jshilong could have a look.