Object Detection
PyTorch
TensorBoard
ONNX
Safetensors
Transformers
English
d_fine
feature-extraction
AgTech
custom_code
Eval Results (legacy)
Instructions to use Laudando-Associates-LLC/d-fine-nano with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Laudando-Associates-LLC/d-fine-nano with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Laudando-Associates-LLC/d-fine-nano", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Laudando-Associates-LLC/d-fine-nano", trust_remote_code=True) model = AutoModel.from_pretrained("Laudando-Associates-LLC/d-fine-nano", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
D-FINE Nano
This repository contains the D-FINE Nano model, a real-time object detector designed for efficient and accurate object detection tasks.
Try it in the Browser
You can test this model using our interactive Gradio demo:
Model Overview
Architecture: D-FINE Nano
Parameters: 3.76M
Performance:
mAP@[0.50:0.95]: 0.825
mAP@[0.50]: 0.997
AR@[0.50:0.95]: 0.857
F1 Score: 0.982
Framework: PyTorch / ONNX
Training Hardware: 2× NVIDIA RTX A6000 GPUs
Download
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-nano", 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}
}
- Downloads last month
- 56
Model tree for Laudando-Associates-LLC/d-fine-nano
Base model
Laudando-Associates-LLC/d-fineDataset used to train Laudando-Associates-LLC/d-fine-nano
Viewer • Updated • 145 • 84
Space using Laudando-Associates-LLC/d-fine-nano 1
Collection including Laudando-Associates-LLC/d-fine-nano
Paper for Laudando-Associates-LLC/d-fine-nano
Evaluation results
- mAP@[IoU=0.50:0.95] on L&A Pucks Datasetvalidation set self-reported0.825
- mAP@0.50 on L&A Pucks Datasetvalidation set self-reported0.997
- mAP@0.75 on L&A Pucks Datasetvalidation set self-reported0.978
- AR@[IoU=0.50:0.95 | maxDets=100] on L&A Pucks Datasetvalidation set self-reported0.857
- AR@0.50 on L&A Pucks Datasetvalidation set self-reported1.000
- AR@0.75 on L&A Pucks Datasetvalidation set self-reported0.982
- f1 on L&A Pucks Datasetvalidation set self-reported0.982
- precision on L&A Pucks Datasetvalidation set self-reported0.976
- recall on L&A Pucks Datasetvalidation set self-reported0.988
- iou on L&A Pucks Datasetvalidation set self-reported0.863