Downloads · 30 days
48
59% of all-time downloads
dronefreak/uavdt-rfdetr-medium
uavdt-rfdetr-medium is a object detection model from dronefreak. Use it when you need objects located in an image. It is set up for rfdetr. The card lists the license as apache-2.0.
Fine-tuned RF-DETR Medium object detector on the UAVDT benchmark dataset, trained and evaluated as part of DetectionBench -- a framework for reproducibly benchmarking modern object detectors with identical training re…
Downloads · 30 days
48
59% of all-time downloads
All-time downloads
82
Public
Repo size
283 MB
Likes
1
Public
Click a slice to open those files.
.pth134 MB · 93%
From the Hugging Face model README
Fine-tuned RF-DETR Medium object detector on the UAVDT benchmark dataset, trained and evaluated as part of DetectionBench -- a framework for reproducibly benchmarking modern object detectors with identical training recipes and evaluation metrics across multiple real-world datasets.
<!-- Demo banner: side-by-side video of this checkpoint's detections on two UAVDT test clips. Media lives under assets/ in this repo. The <video> renders on the Hugging Face model page (absolute resolve/ URL); on GitHub the nested <img> poster is shown instead. --> <p align="center"><video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/dronefreak/uavdt-rfdetr-medium/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/dronefreak/uavdt-rfdetr-medium/resolve/main/assets/demo_banner.mp4"><img src="https://huggingface.co/dronefreak/uavdt-rfdetr-medium/resolve/main/assets/demo_banner_poster.jpg" alt="RF-DETR Medium detections on two UAVDT test clips" width="900"></video></p> <br> <!-- ROW 1: Identity & Tech Stack --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/Task-Object_Detection-blue?style=flat-square" alt="Task"> <img src="https://img.shields.io/badge/Framework-RF--DETR-0aa1a7?style=flat-square" alt="Framework"> <img src="https://img.shields.io/badge/Base_Model-RF--DETR_Medium-purple?style=flat-square" alt="Base Model"> </div> <!-- ROW 2: Performance Metrics --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/[email protected]%25-success?style=flat-square" alt="mAP@50"> <img src="https://img.shields.io/badge/mAP@50:95-20.54%25-orange?style=flat-square" alt="mAP@50:95"> <img src="https://img.shields.io/badge/Params-33.7M-lightgrey?style=flat-square" alt="Params"> </div> <!-- ROW 3: Metadata --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/License-Apache--2.0-lightgrey?style=flat-square" alt="License"> <a href="https://github.com/dronefreak/DetectionBench"><img src="https://img.shields.io/badge/Source-DetectionBench-black?style=flat-square" alt="Source"></a> </div>pip install rfdetr huggingface_hub
from huggingface_hub import hf_hub_download
import rfdetr
weights = hf_hub_download(
repo_id="dronefreak/uavdt-rfdetr-medium",
filename="checkpoint_best_total.pth"
)
model = rfdetr.RFDETRMedium(pretrain_weights=weights)
detections = model.predict("image.jpg", threshold=0.25)
Evaluated on the UAVDT test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).
| Metric | Score (%) |
|---|---|
| mAP@50 | 33.28 |
| mAP@50-95 | 20.54 |
| Precision | 73.03 |
| Recall | 70.03 |
| F1 Score | 71.5 |
| Parameters | 33.7M |
| FLOPs | N/A (not published upstream) |
Every model DetectionBench has trained and evaluated on UAVDT so far, for full transparency -- see DetectionBench for the smaller, curated comparison set used on the project README.
| Model | mAP@50 | mAP@50-95 | Precision | Recall |
|---|---|---|---|---|
| YOLO26m | 33.43 | 19.56 | 38.14 | 39.84 |
| RF-DETR Medium | 33.28 | 20.54 | 73.03 | 70.03 |
| YOLO26s | 32.98 | 19.61 | 43.86 | 40.38 |
| RF-DETR Nano | 32.78 | 20.31 | 73.6 | 66.98 |
| YOLO26x | 32.65 | 19.22 | 41.85 | 38.19 |
| YOLO26l | 32.64 | 18.75 | 40.17 | 36.45 |
| RF-DETR Small | 32.62 | 20.21 | 73.83 | 71.63 |
| YOLOv9s | 31.82 | 18.71 | 39.83 | 38.12 |
| YOLOv8m | 31.42 | 18.8 | 40.27 | 37.79 |
| YOLO11x | 31.05 | 18.31 | 37.4 | 36.38 |
| YOLO11m | 30.47 | 17.71 | 37.7 | 37.01 |
| YOLOv8x | 30.47 | 17.66 | 39.61 | 36.16 |
| YOLOv10m | 30.12 | 17.33 | 40.13 | 35.68 |
| YOLOv9m | 29.43 | 16.97 | 35.92 | 35.7 |
| YOLOv9t | 29.42 | 17.03 | 35.75 | 36.47 |
| YOLOv10x | 29.38 | 17.15 | 37.29 | 35.15 |
| YOLOv10l | 29.16 | 16.54 | 36.9 | 35.6 |
| YOLOv9c | 29.16 | 16.46 | 35.38 | 34.35 |
| YOLO11s | 29.1 | 17.16 | 34.32 | 37.31 |
| YOLO26n | 28.88 | 16.79 | 33.14 | 35.66 |
| YOLOv8l | 28.86 | 17.27 | 38.33 | 32.86 |
| YOLOv10s | 28.85 | 16.48 | 36.53 | 33.16 |
| YOLO11l | 28.64 | 17.16 | 34.75 | 34.02 |
| YOLO11n | 28.56 | 16.3 | 38.04 | 32.26 |
| YOLOv8n | 27.8 | 15.34 | 35.42 | 33.61 |
| YOLOv10n | 27.17 | 15.16 | 33.3 | 31.21 |
| YOLOv8s | 27.12 | 15.33 | 34.65 | 31.87 |
| Class | mAP@50 | mAP@50-95 |
|---|---|---|
| car | 74.75 | 43.64 |
| truck | 6.73 | 4.51 |
| bus | 18.37 | 13.46 |
This model was evaluated with Supervision's detection metrics, which report mAP/Precision/Recall directly but don't produce a confusion-matrix plot the way Ultralytics' validator does.
This model was trained on UAVDT. For the full dataset description, provenance, license, and citation, see the dataset card:
https://huggingface.co/datasets/dronefreak/UAVDT
| Setting | Value |
|---|---|
| Dataset | UAVDT |
| Framework | RF-DETR |
| Training Toolkit | DetectionBench |
| Epochs (configured max) | 20 |
| Epochs (actually trained) | 0 |
| Early Stopping Patience | 5 |
| Batch Size | 12 |
| Resolution | 640 |
| Optimizer | adamw |
| Learning Rate | 5e-05 |
| Seed | 42 |
checkpoint_best_total.pth
metrics.csv
config.json
uavdt_rfdetr-medium_showcase.jpg
assets/demo_banner.mp4
assets/demo_banner_poster.jpg
README.md
This model was trained using DetectionBench, an open-source framework for benchmarking object detectors across multiple real-world datasets with a common pipeline.
Features include:
If you find this model useful, please consider starring the repository.
car (94.6%) dominates the annotated boxes, while truck (3.1%) and bus (2.3%) are rare -- per-class accuracy on the minority classes is measured on comparatively few examples, and every model here scores far lower on them than on car.If you use this model in your research, please consider citing the dataset and the model architecture:
@InProceedings{du2018unmanned,
title={The Unmanned Aerial Vehicle Benchmark: Object Detection and Tracking},
author={Du, Dawei and Qi, Yuankai and Yu, Hongyang and Yang, Yifan and Duan, Kaiwen and Li, Guorong and Zhang, Weigang and Huang, Qingming and Tian, Qi},
booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
year={2018}
}
@inproceedings{robinson2026rfdetr,
title = {RF-DETR: Real-Time Detection Transformer},
author = {Robinson, Isaac and Robicheaux, Peter and Popov, Matvei and Ramanan, Deva and Peri, Neehar},
booktitle = {International Conference on Learning Representations (ICLR)},
year = {2026},
url = {https://arxiv.org/abs/2511.09554}
}
@article{oquab2023dinov2,
title={DINOv2: Learning Robust Visual Features without Supervision},
author={Oquab, Maxime and Darcet, Timoth{\'e}e and Moutakanni, Theo and Vo, Huy and Szafraniec, Marc and Khalidov, Vasil and Fernandez, Pierre and Haziza, Daniel and Massa, Francisco and El-Nouby, Alaaeldin and others},
journal={arXiv preprint arXiv:2304.07193},
year={2023}
}