Vision Analysis
Back to Leaderboard

D-FINE-X

dfine

transformer detector with HGNetv2 backbone

Parameters62.0M
GFLOPs202.0
Input Size640px
Best mAP61.5%
LicenseApache-2.0

Architecture

Type

transformer

Backbone

HGNetv2

Neck

HybridEncoder

Head

FDR (Fine-grained Distribution Refinement)

Benchmark Results

Performance on COCO val2017 across different hardware configurations

HardwareRuntimemAP@50-95FPSLatencyVRAM
NVIDIA A100PyTorch FP3259.3%15.464.7ms401 MB
NVIDIA Jetson Orin Nano Super 8GBONNX Runtime FP3261.4%3.0328.9ms-
NVIDIA Jetson Orin Nano Super 8GBPyTorch FP3261.4%2.9350.0ms399 MB
NVIDIA Jetson Orin Nano Super 8GBTensorRT FP1661.4%14.270.5ms-
NVIDIA Jetson Orin Nano Super 8GBTensorRT FP3261.5%8.0124.8ms-
NVIDIA RTX 5070 TiONNX Runtime FP3261.4%41.524.1ms-
NVIDIA RTX 5070 TiPyTorch FP3261.4%18.155.1ms404 MB
NVIDIA RTX 5070 TiTensorRT FP1661.5%73.013.7ms-
NVIDIA RTX 5070 TiTensorRT FP3261.4%57.917.3ms-

Speed Breakdown(NVIDIA A100)

6.4ms
48.6ms
9.8ms
Preprocess
Inference
Postprocess (NMS)

Usage with LibreYOLO

from libreyolo import LibreYOLO

# Load model (auto-downloads from HuggingFace if not found locally)
model = LibreYOLO("LibreDFINEx.pt")

# Run inference
result = model("image.jpg", conf=0.25, iou=0.45)

# Process results
print(f"Found {len(result)} objects")
print(result.boxes.xyxy)   # bounding boxes (N, 4)
print(result.boxes.conf)   # confidence scores (N,)
print(result.boxes.cls)    # class IDs (N,)
detrnms-freePaper: 55.8% mAP

Related Models (dfine)

Run any model with one line

LibreYOLO has the best catalogue of state-of-the-art detectors, all behind one MIT-licensed Python API.

from libreyolo import LibreYOLO, SAMPLE_IMAGE

# LibreYOLO has the best catalogue of state-of-the-art models.
model = LibreYOLO("LibreRFDETRl.pt")           # RF-DETR-L (transformer flagship)
results = model(SAMPLE_IMAGE, save=True)        # run inference, save the annotated image

# Swap in any other model, same one-line API (weights auto-download):
#   LibreYOLO("LibreYOLO9c.pt")      # YOLO9-C
#   LibreYOLO("LibreYOLOXx.pt")      # YOLOX-X
#   LibreYOLO("LibreDFINEx.pt")      # D-FINE-X
#   LibreYOLO("LibreRTDETRr50.pt")   # RT-DETR-R50