← all repositories
Intellindust-AI-Lab/DEIM

DETR's slow convergence gets a matching fix

A training framework that swaps DETR's bottlenecked one-to-one matching for dense supervision, cutting convergence time without touching the architecture.

1.6k stars Python Computer VisionML Frameworks
DEIM
Not currently ranked — collecting fresh signals.
star history

What it does

DEIM is a training framework for DETR-style detectors that replaces the standard one-to-one matching with a dense one-to-one (Dense O2O) approach. It layers on a matching-aware loss (MAL) so the model learns faster from more supervisory signals per image. The repo ships re-implementations of D-FINE and RT-DETR backbones, trained end-to-end with this recipe.

The interesting bit

The insight is almost annoyingly simple: DETR’s Hungarian matching creates a sparse learning signal where most predictions are ignored. DEIM densely matches predictions to ground truth, then uses a secondary loss to suppress the duplicate detections that would normally flood in. The architecture stays identical; only the training contract changes.

Key highlights

  • DEIM-D-FINE runs from Nano (4M params, 2.12ms) to X (62M, 12.89ms), with AP gains of 0.2–0.7 points over baseline D-FINE on COCO
  • DEIM-RT-DETRv2 shows larger lifts: +1.1 to +1.2 AP across S through X sizes
  • Dense O2O implementation was later optimized for ~30% faster data loading
  • DEIMv2 successor (separate repo) pushes down to Atto size at 0.49M parameters
  • Apache 2.0 licensed; CVPR 2025 accepted

Caveats

  • The README’s “SOTA” badge links to Papers With Code, but the tables only show comparisons against D-FINE and RT-DETRv2 baselines, not the broader field
  • Custom dataset support exists but requires COCO-format conversion and manual YAML editing
  • DEIMv2 is already released and appears to supersede this repo for new work

Verdict

Worth a look if you’re already running D-FINE or RT-DETR and want cheaper training, or if you’re researching DETR matching mechanics. Skip if you need a from-scratch detector family or are chasing absolute SOTA—DEIMv2 likely ate this project’s lunch.

Frequently asked

What is Intellindust-AI-Lab/DEIM?
A training framework that swaps DETR's bottlenecked one-to-one matching for dense supervision, cutting convergence time without touching the architecture.
Is DEIM open source?
Yes — Intellindust-AI-Lab/DEIM is an open-source project tracked on heatdrop.
What language is DEIM written in?
Intellindust-AI-Lab/DEIM is primarily written in Python.
How popular is DEIM?
Intellindust-AI-Lab/DEIM has 1.6k stars on GitHub.
Where can I find DEIM?
Intellindust-AI-Lab/DEIM is on GitHub at https://github.com/Intellindust-AI-Lab/DEIM.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.