What is DETR (DEtection TRansformer) architecture?

Updated May 15, 2026

Short answer

DETR reformulates object detection as a set prediction problem using Transformers.

Deep explanation

DETR uses a CNN backbone for feature extraction and a Transformer encoder-decoder to directly predict a fixed set of object queries. It removes the need for anchor boxes and non-max suppression by using bipartite matching (Hungarian algorithm) to assign predictions to ground truth objects.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Computer Vision interview questions

View all →