Roboflow

RT-DETR vs YOLOS

Compare RT-DETR and YOLOS side-by-side.

Compare RT-DETR vs YOLOS live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Models in this comparison

Baidu
HuggingFace

RT-DETR vs YOLOS Comparison Table

Evals updated August 6, 2026Pricing updated August 7, 2026

PropertyRT-DETRYOLOS
OrganizationBaiduHugging Face
Categoryopenopen
Modalityvisionvision
Release DateApr 2023Jun 2021
Context Window
Parameters20M-76M
LicenseApache 2.0MIT
Vision Tasks
Object Detection
Model Features
Real-Time Vision

RT-DETR vs YOLOS: Overview

RT-DETR

RT-DETR (Real-Time Detection Transformer) is an object detection model developed by Baidu, released in April 2023 under the Apache 2.0 license. It is the first transformer-based real-time object detector, addressing the inference speed limitations of earlier DETR models through an efficient hybrid encoder that decouples intra-scale interaction and cross-scale fusion, enabling the model to process multi-scale features without the high computational overhead of standard transformer encoders.

RT-DETR achieves 53.1% AP on COCO at 108 FPS on an NVIDIA T4 GPU for the RT-DETR-L variant, outperforming comparably sized YOLO detectors at similar speeds. It maintains end-to-end inference without non-maximum suppression, simplifying deployment pipelines. RT-DETR established the baseline for real-time transformer detection and has been extended by subsequent works including RF-DETR and RT-DETRv2.

YOLOS

YOLOS (You Only Look at One Sequence) is a transformer-based object detection model widely distributed through Hugging Face Transformers, released in June 2021 under the MIT license. It applies a minimally adapted Vision Transformer to object detection by representing both the image and detection tokens as a flat sequence processed by standard multi-head self-attention, without convolutional components or feature pyramid networks. The architecture demonstrates that detection can be performed without region proposals or multi-scale feature fusion.

YOLOS achieves moderate performance on COCO relative to purpose-built detectors, with its primary contribution being a demonstration of the transferability of ViT pre-training to detection tasks. It is most appropriate for research contexts exploring transformer-based detection architectures and for scenarios where architectural simplicity is preferred over peak accuracy.

BaiduRT-DETR
HuggingFaceYOLOS