
rtdetr-l
Detection and tracking1,187 ops33M params
Real-time end-to-end detection transformer with a hybrid encoder and no NMS, built with Ultralytics.
Detection and tracking · 1,139 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
This configuration uses a ResNet-50 backbone, the RT-DETR-R50 of the paper, which reports 53.1% AP on COCO val2017 and 108 FPS on a T4 GPU.
About this model's family
RT-DETR, the Real-Time DEtection TRansformer, is an end-to-end object detector that its paper calls the first real-time end-to-end object detector to the authors' knowledge. Unlike YOLO detectors, which need non-maximum suppression (NMS), it uses bipartite matching to predict a one-to-one object set, leaving a score threshold as the only post-processing.
The network has three parts: a backbone, an efficient hybrid encoder, and a Transformer decoder with auxiliary heads. The encoder splits its work: self-attention runs only within the highest-level feature map (AIFI), while a convolutional path fuses across scales (CCFF). Between encoder and decoder, uncertainty-minimal query selection picks the top 300 encoder features as object queries, scored by the gap between their predicted localization and classification distributions. Because the decoder is a stack of layers, a trained model can trade accuracy for speed by dropping trailing decoder layers, with no retraining.
On COCO the paper reports 53.1% AP at 108 FPS on a T4 GPU for RT-DETR-R50 and 54.3% AP at 74 FPS for RT-DETR-R101, ahead of the YOLO detectors it compares against. The paper names one limitation: like other DETRs, its accuracy on small objects still trails the strongest real-time detectors. The authors' repository also lists RT-DETR-HGNetv2-L and RT-DETR-HGNetv2-X, with an HGNetv2 backbone, at 53.0 and 54.8 AP on COCO. RT-DETR also ships in the Ultralytics package, which built the models shown here.
Key idea. RT-DETR extends DETR to real-time detection through an efficient hybrid encoder and uncertainty-minimal query selection, and the paper reports it outperforming YOLO detectors in speed and accuracy.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zhao2024detrsbeatyolosrealtime,
title={DETRs Beat YOLOs on Real-time Object Detection},
author={Yian Zhao and Wenyu Lv and Shangliang Xu and Jinman Wei and Guanzhong Wang and Qingqing Dang and Yi Liu and Jie Chen},
year={2024},
eprint={2304.08069},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2304.08069},
}