IDEA-Research / DN-DETR

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

about attention.py #62

Closed Innary closed 1 year ago

Innary commented 1 year ago

thank you for your models' code! attention.py#LL381C2-L381C2 Why not use the normal softmax(attn_output_weights, dim=-1) in attention.py instead of subtracting the max value?

Innary commented 1 year ago

https://github.com/IDEA-Research/DAB-DETR/issues/48