All models

rtdetr-resnet101

Real-time end-to-end detection transformer with a hybrid encoder and no NMS, built with Ultralytics.

Detection and tracking · 1,343 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (43 KB)

Open in a new tab

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.

At a glance

Family
RT-DETR
Parameters
61.9M
Operations
1,343
Framework
PyTorch
Recurrent
No
Published
CVPR 2024
Cited by
343 (as of 19 October 2026)
Authors
Yian Zhao, Wenyu Lv, Shangliang Xu and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8978
Graph hash
01f62236c47f51d7e2bdc4e9e28043f6c0508213373cca87c6968c7493a5b943
Skeleton hash
b132d90f73fe11a6f37bb59198ab096936f77e742c2372de4686b2603283c09f
Architecture hash
997874a416b5ab0c3e37045778c4973ac6cb8768ed683edecf5423b50e642271
Diagram SHA-256
f56c6b49934b10ca7021eb7e1d3f26f4cb72dd0768a5faf9cd375c1a608afd2b
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This configuration uses a ResNet-101 backbone, the RT-DETR-R101 of the paper, which reports 54.3% AP on COCO val2017 and 74 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.

  • rt-detr
  • rtdetr
  • real-time detection transformer
  • detection transformer
  • real-time object detection
  • object detection
  • end-to-end detector
  • nms-free
  • ultralytics
  • hgnetv2

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}