#3939th of 70 in Open models

d-fine

Real-time DETR object detector with COCO and Objects365 checkpoints

Stars
3.4k
License
Apache-2.0
Last commit
Aug 2026
Language
Python
Stars, last 29 weeks+343
21 Apr 2026: 3,057 stars28 Apr 2026: 3,072 stars5 May 2026: 3,084 stars12 May 2026: 3,096 stars19 May 2026: 3,109 stars26 May 2026: 3,122 stars2 Jun 2026: 3,130 stars9 Jun 2026: 3,140 stars16 Jun 2026: 3,145 stars23 Jun 2026: 3,155 stars30 Jun 2026: 3,162 stars7 Jul 2026: 3,182 stars14 Jul 2026: 3,215 stars21 Jul 2026: 3,227 stars28 Jul 2026: 3,249 stars4 Aug 2026: 3,256 stars11 Aug 2026: 3,266 stars18 Aug 2026: 3,277 stars25 Aug 2026: 3,289 stars1 Sept 2026: 3,293 stars8 Sept 2026: 3,311 stars15 Sept 2026: 3,319 stars22 Sept 2026: 3,326 stars29 Sept 2026: 3,337 stars6 Oct 2026: 3,347 stars13 Oct 2026: 3,356 stars20 Oct 2026: 3,370 stars27 Oct 2026: 3,381 stars3 Nov 2026: 3,390 stars10 Nov 2026: 3,400 stars

3,057 on 21 Apr 20263,400 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Official PyTorch implementation of D-FINE, a real-time DETR-style object detector that treats box regression as fine-grained distribution refinement with self-distillation. It ships five sizes (N to X, 4M to 62M parameters) with training, testing and fine-tuning configs for COCO, Objects365 and custom COCO-format datasets. The N model reports 42.8 AP on COCO and the X model 55.8 AP, or 59.3 AP with Objects365 pretraining.

Who it is for: Computer vision engineers training or fine-tuning real-time object detectors

Strengths

  • Five model sizes, N to X, with COCO AP from 42.8 to 55.8
  • Latency listed per model on a T4 with TensorRT 10.4.0, fp16
  • Configs and commands for fine-tuning on custom COCO-format datasets
  • Checkpoints and training logs published for every listed model

Weaknesses

  • Objects365-trained checkpoints may not be cleared for commercial use
  • Training commands assume a 4-GPU torchrun setup
  • Object detection only, no segmentation or language features
  • Objects365 data prep needs several manual remap and resize steps

What it needs

  • GPU required
  • Docker
  • Needs PyTorch, conda, Python 3.11.9, TensorRT (for latency benchmarks)
  • Models: D-FINE N/S/M/L/X (HGNetv2), COCO, Objects365, custom COCO-format datasets

Quick answers

Is d-fine open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Can you run d-fine with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does d-fine need a GPU?

Yes, it needs a GPU.

Also in Open models

See all 70
Also in Open models
RankProjectScore
1ruviewWiFi CSI sensing on ESP32 for presence, breathing, heart rate and pose104k starsMIT94 out of 100
2layaSingle-pass multilingual classifier for typed choice, score and yes/no decisions Live demo ↗ (opens in a new tab)35.4k stars+3,167 (+9.8%) in 30 daysApache-2.088 out of 100
3rf-detrReal-time transformer models for object detection, segmentation and keypoints Live demo ↗ (opens in a new tab)10k starsApache-2.079 out of 100
#4timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research35.4k stars+1,231 (+3.6%) in 30 daysApache-2.078 out of 100
#5yolov5PyTorch YOLOv5 object detection, segmentation and classification models with training code58.3k starsAGPL-3.076 out of 100