End-to-End Object Detection with Transformers

Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov +1 more
5/26/2020
cs.CV

Official code: facebookresearch/detr (15,350 stars, Apache-2.0, last commit 2024-03-12).

Abstract

We present a new method that views object detection as a direct set prediction problem. Our approach streamlines the detection pipeline, effectively removing the need for many hand-designed components like a non-maximum suppression procedure or anchor generation that explicitly encode our prior knowledge about the task. The main ingredients of the new framework, called DEtection TRansformer or DETR, are a set-based global loss that forces unique predictions via bipartite matching, and a transformer encoder-decoder architecture. Given a fixed small set of learned object queries, DETR reasons about the relations of the objects and the global image context to directly output the final set of predictions in parallel. The new model is conceptually simple and does not require a specialized library, unlike many other modern detectors. DETR demonstrates accuracy and run-time performance on par with the well-established and highly-optimized Faster RCNN baseline on the challenging COCO object detection dataset. Moreover, DETR can be easily generalized to produce panoptic segmentation in a unified manner. We show that it significantly outperforms competitive baselines. Training code and pretrained models are available at https://github.com/facebookresearch/detr.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

End-to-End Object Detection with Transformers

15,3502,675Python, DockerfileMay 26, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{carion2020endtoend,
  title  = {End-to-End Object Detection with Transformers},
  author = {Nicolas Carion and Francisco Massa and Gabriel Synnaeve and Nicolas Usunier and Alexander Kirillov and Sergey Zagoruyko},
  year   = {2020},
  eprint = {2005.12872},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.12872}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.12872.svg)](https://codeofpaper.com/paper/2005.12872)

Discussion