DETRs Beat YOLOs on Real-time Object Detection

04/17/2023
by   Wenyu Lv, et al.
15

Recently, end-to-end transformer-based detectors (DETRs) have achieved remarkable performance. However, the issue of the high computational cost of DETRs has not been effectively addressed, limiting their practical application and preventing them from fully exploiting the benefits of no post-processing, such as non-maximum suppression (NMS). In this paper, we first analyze the influence of NMS in modern real-time object detectors on inference speed, and establish an end-to-end speed benchmark. To avoid the inference delay caused by NMS, we propose a Real-Time DEtection TRansformer (RT-DETR), the first real-time end-to-end object detector to our best knowledge. Specifically, we design an efficient hybrid encoder to efficiently process multi-scale features by decoupling the intra-scale interaction and cross-scale fusion, and propose IoU-aware query selection to improve the initialization of object queries. In addition, our proposed detector supports flexibly adjustment of the inference speed by using different decoder layers without the need for retraining, which facilitates the practical application of real-time object detectors. Our RT-DETR-L achieves 53.0 RT-DETR-X achieves 54.8 same scale in both speed and accuracy. Furthermore, our RT-DETR-R50 achieves 53.1 accuracy and by about 21 times in FPS. Source code and pretrained models will be available at PaddleDetection.

READ FULL TEXT
research
09/21/2023

DEYOv3: DETR with YOLO for Real-time Object Detection

Recently, end-to-end object detectors have gained significant attention ...
research
05/24/2019

A Real-Time Tiny Detection Model for Stem End and Blossom End of Navel Orange

To distinguish the stem end and blossom end of navel orange from its bla...
research
04/03/2021

Efficient DETR: Improving End-to-End Object Detector with Dense Prior

The recently proposed end-to-end transformer detectors, such as DETR and...
research
01/28/2021

Object Detection Made Simpler by Eliminating Heuristic NMS

We show a simple NMS-free, end-to-end object detection framework, of whi...
research
02/09/2021

RMOPP: Robust Multi-Objective Post-Processing for Effective Object Detection

Over the last few decades, many architectures have been developed that h...
research
12/14/2018

Fast Mitochondria Segmentation for Connectomics

In connectomics, scientists create the wiring diagram of a mammalian bra...
research
12/09/2022

Image-Based Fire Detection in Industrial Environments with YOLOv4

Fires have destructive power when they break out and affect their surrou...

Please sign up or login with your details

Forgot password? Click here to reset