IDEA-Research / DN-DETR

[CVPR 2022 Oral] Official implementation of DN-DETR
Apache License 2.0
528 stars 57 forks source link

Inverse sigmoid #54

Closed zkyseu closed 1 year ago

zkyseu commented 1 year ago

Hi, I have a question that what the role of “Inverse Sigmoid” is in your code? I mention that Inverse sigmoid is used in many places in your code

FengLi-ust commented 1 year ago

Because we use sigmoid to normalize the boxes. However, operations to the box should be before sigmoid. So we use inverse sigmoid to transfer the anchor.