lyuwenyu / RT-DETR

[CVPR 2024] Official RT-DETR (RTDETR paddle pytorch), Real-Time DEtection TRansformer, DETRs Beat YOLOs on Real-time Object Detection. 🔥 🔥 🔥
Apache License 2.0
2.31k stars 258 forks source link

关于deformable_attention_core_func #285

Open ocrhei opened 5 months ago

ocrhei commented 5 months ago

请问为什么不像deformable-detr源码一样封装起来呢,那样是不是速度更快呢,不解

lyuwenyu commented 5 months ago

也是可以的,但是

  1. 公平性:采样没有经过特殊优化的版本 和 不同模型进行推理速度的比较
  2. 方便性:可直接转tensorrt
  3. ...