ONNX Model Zoo

Laudando-Associates-LLC/d-fine-small

By Laudando-Associates-LLC · ↓ 6 · ♥ 0 · Updated 2025-05-12

What's in this repo

This page lists the files in Laudando-Associates-LLC/d-fine-small, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 17 files, including 6 .0, 3 .py, 1 .md, 1 .png, 1 .json, 1 .onnx
  • Last updated 2025-05-12

ONNX files

File Size Download
model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

D-FINE Small

This repository contains the D-FINE Small model, a real-time object detector designed for efficient and accurate object detection tasks.

Small Detections

Try it in the Browser

You can test this model using our interactive Gradio demo:

Model Overview

  • Architecture: D-FINE Small

  • Parameters: 10.3M

  • Performance:

    • mAP@[0.50:0.95]: 0.816

    • mAP@[0.50]: 0.983

    • AR@[0.50:0.95]: 0.859

    • F1 Score: 0.951

  • Framework: PyTorch / ONNX

  • Training Hardware: 2× NVIDIA RTX A6000 GPUs

Download

Format Link
ONNX
PyTorch

Usage

To utilize this model, ensure you have the shared D-FINE processor:

from transformers import AutoProcessor, AutoModel

# Load processor
processor = AutoProcessor.from_pretrained("Laudando-Associates-LLC/d-fine", trust_remote_code=True)

# Load model
model = AutoModel.from_pretrained("Laudando-Associates-LLC/d-fine-small", trust_remote_code=True)

# Process image
inputs = processor(image)

# Run inference
outputs = model(**inputs, conf_threshold=0.4)

Evaluation

This model was trained and evaluated on the L&A Pucks Dataset.

License

This model is licensed under the Apache License 2.0.

Citation

If you use D-FINE or its methods in your work, please cite the following BibTeX entries:

@misc{peng2024dfine,
      title={D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinement},
      author={Yansong Peng and Hebei Li and Peixi Wu and Yueyi Zhang and Xiaoyan Sun and Feng Wu},
      year={2024},
      eprint={2410.13842},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Model info

pytorch tensorboard onnx safetensors d_fine feature-extraction object-detection AgTech transformers custom_code en dataset:Laudando-Associates-LLC/pucks
↓ 6 ♥ 0

Created: 2025-05-10

Updated: 2025-05-12

View on Hugging Face

Files (17)

.gitattributes
README.md
__init__.py
assets/small.png
config.json
configuration_dfine.py
model.onnx ONNX
model.safetensors
modeling_dfine.py
pytorch_model.bin
requirements.txt
runs/events.out.tfevents.1746920736.user-Lambda-Vector.1730454.0
runs/events.out.tfevents.1746920736.user-Lambda-Vector.1730455.0
runs/events.out.tfevents.1746922236.user-Lambda-Vector.1769886.0
runs/events.out.tfevents.1746922236.user-Lambda-Vector.1769887.0
runs/events.out.tfevents.1746923664.user-Lambda-Vector.1802051.0
runs/events.out.tfevents.1746923664.user-Lambda-Vector.1802052.0

Related models