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-xlarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Laudando-Associates-LLC/d-fine-xlarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Laudando-Associates-LLC/d-fine-xlarge", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Laudando-Associates-LLC/d-fine-xlarge", trust_remote_code=True) model = AutoModel.from_pretrained("Laudando-Associates-LLC/d-fine-xlarge", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Laudando-Associates-LLC/d-fine-xlarge: direct link, hf CLI and curl.
- Browser
- Download file 3.98 kB
-
https://huggingface.co/Laudando-Associates-LLC/d-fine-xlarge/resolve/main/README.md
- Command line
-
hf download hf://Laudando-Associates-LLC/d-fine-xlarge/README.md
-
curl -L -o README.md https://huggingface.co/Laudando-Associates-LLC/d-fine-xlarge/resolve/main/README.md
3.98 kB
metadata
language:
- en
license: apache-2.0
tags:
- object-detection
- AgTech
- transformers
library_name: pytorch
inference: false
datasets:
- Laudando-Associates-LLC/pucks
base_model: Laudando-Associates-LLC/d-fine
base_model_relation: finetune
model-index:
- name: D-FINE Extra Large
results:
- task:
type: object-detection
name: Object Detection
dataset:
type: Laudando-Associates-LLC/pucks
name: L&A Pucks Dataset
config: default
split: validation
metrics:
- type: mean_average_precision
name: mAP@[IoU=0.50:0.95]
value: 0.803
- type: mean_average_precision
name: mAP@0.50
value: 0.961
- type: mean_average_precision
name: mAP@0.75
value: 0.952
- type: recall
name: AR@[IoU=0.50:0.95 | maxDets=100]
value: 0.885
- type: recall
name: AR@0.50
value: 0.988
- type: recall
name: AR@0.75
value: 0.97
- type: f1
value: 0.899
- type: precision
value: 0.842
- type: recall
value: 0.964
- type: iou
value: 0.734
D-FINE Extra Large
This repository contains the D-FINE Extra Large 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 Extra Large
Parameters: 62.7M
Performance:
mAP@[0.50:0.95]: 0.803
mAP@[0.50]: 0.961
AR@[0.50:0.95]: 0.885
F1 Score: 0.899
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-xlarge", 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}
}