RF-DETR Nano Finetuned on ExDark

Fine-tuned RF-DETR Nano object detector on the ExDark 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.


Task Framework Base Model
mAP@50 mAP@50:95 Params
License Source

Detection Showcase

ExDark Detection Demo


Performance

Metric Score (%)
mAP@50 85.27
mAP@50-95 58.01
Precision 85.18
Recall 74.67
F1 Score 79.58
Parameters 30.5M
FLOPs N/A (not published upstream)

Evaluation Protocol

Metrics reported in this model card are computed on the ExDark test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).


ExDark Model Zoo

Every model DetectionBench has trained and evaluated on ExDark so far, for full transparency -- see DetectionBench for the smaller, curated comparison set used on the project README.

Rank Model mAP@50 mAP@50-95 Precision Recall
1 RF-DETR Small 88.98 61.67 83.07 81.89
2 RF-DETR Medium 88.64 62.55 86.6 79.46
3 RF-DETR Nano 85.27 58.01 85.18 74.67
4 YOLOv26l 77.51 50.88 80.71 70.72
5 YOLOv26m 76.54 50.02 82.29 68.83
6 YOLOv8x 75.4 48.39 81.53 65.86
7 YOLOv8l 75.26 48.48 81.44 67.58
8 YOLOv8m 74.69 48.05 78.4 69.17
9 YOLOv11x 74.41 48.98 81.87 67.05
10 YOLOv9m 74.17 47.38 76.27 67.94
11 YOLOv26s 74.0 48.32 79.11 65.59
12 YOLOv11l 73.44 47.56 78.57 67.09
13 YOLOv11s 73.35 46.8 77.93 66.38
14 YOLOv11m 73.17 47.16 74.83 67.23
15 YOLOv8s 73.01 45.85 78.26 65.13
16 YOLOv26n 72.7 46.27 81.0 62.67
17 YOLOv8n 71.29 44.78 78.25 62.76
18 YOLOv11n 70.36 44.72 76.18 61.15

Per-Class Performance

Class mAP@50 mAP@50-95
Bicycle 82.33 55.52
Boat 88.35 53.39
Bottle 77.88 50.82
Bus 90.13 70.86
Car 86.35 58.69
Cat 90.87 65.76
Chair 83.73 56.97
Cup 81.8 54.97
Dog 89.02 64.48
Motorbike 88.42 59.15
People 84.39 51.51
Table 80.01 54.03

Evaluation Visualizations

This model was evaluated with Supervision's detection metrics, which report mAP/Precision/Recall directly but don't produce PR-curve, F1-curve, or confusion-matrix plot images the way Ultralytics' validator does. See the Performance table above for Precision/Recall/F1 and the per-class table above for the full per-class mAP breakdown.


Dataset

This model was trained on ExDark. For the full dataset description, provenance, license, and citation, see the dataset card:

https://huggingface.co/datasets/dronefreak/ExDark

Classes

  • Bicycle
  • Boat
  • Bottle
  • Bus
  • Car
  • Cat
  • Chair
  • Cup
  • Dog
  • Motorbike
  • People
  • Table

Usage

Install Dependencies

pip install rfdetr huggingface_hub

Load Model from Hugging Face

from huggingface_hub import hf_hub_download
import rfdetr

weights = hf_hub_download(
    repo_id="dronefreak/exdark-rfdetr-nano",
    filename="checkpoint_best_total.pth"
)

model = rfdetr.RFDETRNano(pretrain_weights=weights)

Run Inference

detections = model.predict("image.jpg", threshold=0.25)

Training Configuration

Setting Value
Dataset ExDark
Framework RF-DETR
Training Toolkit DetectionBench
Epochs (configured max) 500
Epochs (actually trained) 114
Early Stopping Patience 100
Batch Size 14
Resolution 384
Optimizer adamw
Learning Rate 0.0001
Seed 42

Repository Contents

checkpoint_best_total.pth
metrics.csv
config.json
exdark_rfdetr-nano_showcase.jpg
README.md

Related Resources


Training Framework

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:

  • A dataset-adapter registry for converting real-world datasets into a canonical format
  • Identical training/evaluation recipes across model families (Ultralytics YOLO/RT-DETR, RF-DETR)
  • Hardware profiling (latency, FPS, VRAM, parameters, FLOPs)
  • One-command reproducibility via versioned Hydra configs

If you find this model useful, please consider starring the repository.


Known Limitations

  • Severe class imbalance: People accounts for roughly 46% of all annotated boxes while Bus is the rarest class, so per-class accuracy on rare classes is measured on very few test examples and should be read with wide uncertainty.
  • Small dataset overall (7,344 images, 734 in the test split, across 12 classes) -- limited training signal for several classes independent of the imbalance above.
  • Two-hop provenance: this dataset was converted to YOLO format by a third-party Roboflow export before reaching DetectionBench, not sourced directly from the original per-class-folder release; images are pre-resized to 640x640 by that export.
  • The original authors separately request non-commercial use of this dataset (beyond the BSD-3-Clause license text itself) -- this applies to any model trained on it, not only the raw images.

Citation

If you use this model in your research, please consider citing:

  1. The ExDark dataset (see below)
  2. The original RF-DETR Nano architecture (see below)
  3. DetectionBench, the training/evaluation framework used to produce this checkpoint
@article{Exdark,
  title = {Getting to Know Low-light Images with The Exclusively Dark Dataset},
  author = {Loh, Yuen Peng and Chan, Chee Seng},
  journal = {Computer Vision and Image Understanding},
  volume = {178},
  pages = {30-42},
  year = {2019},
  doi = {https://doi.org/10.1016/j.cviu.2018.10.010}
}
@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}
}
@software{Saksena_DetectionBench_2026,
  author = {Saksena, Saumya Kumaar},
  title = {DetectionBench: Reproducible Benchmarks for Modern Object Detectors on Real-World Datasets},
  url = {https://github.com/dronefreak/DetectionBench},
  year = {2026}
}
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train dronefreak/exdark-rfdetr-nano

Collection including dronefreak/exdark-rfdetr-nano

Papers for dronefreak/exdark-rfdetr-nano