Vision Analysis
Back to Leaderboard

D-FINE-S

dfine

transformer detector with HGNetv2 backbone

Parameters10.0M
GFLOPs25.0
Input Size640px
Best mAP50.7%
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 FP3250.7%24.041.7ms140 MB

Speed Breakdown(NVIDIA A100)

6.2ms
23.8ms
11.8ms
Preprocess
Inference
Postprocess (NMS)

Usage with LibreYOLO

from libreyolo import LIBREYOLO

# Load model (auto-downloads from HuggingFace if not found locally)
model = LIBREYOLO("libredfines.pth")

# 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: 48.7% mAP

Related Models (dfine)