dronefreak/lisa-rfdetr-medium

Model

RF-DETR Medium Finetuned on LISA Traffic Lights

0

4 commits

2 linked in READMEs

updated Oct 1, 2026

See the code

README

RF-DETR Medium Finetuned on LISA Traffic Lights

Fine-tuned RF-DETR Medium object detector on the LISA Traffic Lights 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.

LISA Traffic Lights Detection Demo


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

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/lisa-rfdetr-medium",
    filename="checkpoint_best_total.pth"
)

model = rfdetr.RFDETRMedium(pretrain_weights=weights)

Run Inference

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

Performance

Evaluated on the LISA Traffic Lights test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).

MetricScore (%)
mAP@5033.01
mAP@50-9514.12
Precision69.37
Recall58.28
F1 Score63.34
Parameters33.7M
FLOPsN/A (not published upstream)

LISA Traffic Lights Model Zoo

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

ModelmAP@50mAP@50-95PrecisionRecall
RF-DETR Medium33.0114.1269.3758.28
RF-DETR Small32.715.1169.753.9
YOLO26m29.0813.6843.7929.71
YOLO26x28.9214.0943.5926.96
RF-DETR Nano27.4712.1674.9652.57
YOLO26l27.2813.5441.4227.99
YOLO26s26.9112.8242.4726.43
YOLO11x26.413.0953.9824.38
YOLOv8m25.0711.9138.1625.15
YOLO26n23.7410.5737.2325.7

Per-Class Performance

ClassmAP@50mAP@50-95
go65.3832.49
goForward0.00.0
goLeft16.935.68
stop63.3423.78
stopLeft15.856.68
warning53.725.46
warningLeft15.884.73

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.


Dataset

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

https://huggingface.co/datasets/dronefreak/LISA-Traffic-Lights

Classes

  • go
  • goForward
  • goLeft
  • stop
  • stopLeft
  • warning
  • warningLeft

Training Configuration

SettingValue
DatasetLISA Traffic Lights
FrameworkRF-DETR
Training ToolkitDetectionBench
Epochs (configured max)500
Epochs (actually trained)102
Early Stopping Patience100
Batch Size4
Resolution576
Optimizeradamw
Learning Rate0.0001
Seed42

Repository Contents

checkpoint_best_total.pth
metrics.csv
config.json
lisa_rfdetr-medium_showcase.jpg
README.md


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

  • Rare/underrepresented arrow classes (goForward, goLeft, stopLeft, warningLeft) have far fewer training examples than the base go/stop/warning classes and correspondingly lower detection accuracy across every model in this zoo.
  • Sequential dashcam video frames mean visually similar consecutive frames can appear within the same split; performance on genuinely novel scenes may differ from the reported test-split numbers.
  • Trained and evaluated only on San Diego daytime/nighttime driving sequences (Pacific Beach, La Jolla); generalization to different traffic-light hardware, road layouts, or camera setups is untested.
  • Small, distant traffic lights are harder to detect reliably, consistent with general small-object detection challenges.

Citation

If you use this model in your research, please consider citing the dataset and the model architecture:

@article{jensen2016vision,
  title={Vision for looking at traffic lights: Issues, survey, and perspectives},
  author={Jensen, Morten Born{\o} and Philipsen, Mark Philip and M{\o}gelmose, Andreas and Moeslund, Thomas Baltzer and Trivedi, Mohan Manubhai},
  journal={IEEE Transactions on Intelligent Transportation Systems},
  volume={17},
  number={7},
  pages={1800--1815},
  year={2016},
  doi={10.1109/TITS.2015.2509509},
  publisher={IEEE}
}

@inproceedings{philipsen2015traffic,
  title={Traffic light detection: A learning algorithm and evaluations on challenging dataset},
  author={Philipsen, Mark Philip and Jensen, Morten Born{\o} and M{\o}gelmose, Andreas and Moeslund, Thomas B and Trivedi, Mohan M},
  booktitle={Intelligent Transportation Systems (ITSC), 2015 IEEE 18th International Conference on},
  pages={2341--2345},
  year={2015},
  organization={IEEE}
}
@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}
}
advanced-driver-assistance-systems
autonomous-driving
computer-vision
detectionbench
model-index
object-detection
pytorch
rfdetr
self-driving-cars
traffic-lights

dronefreak/lisa-rfdetr-medium

Model

RF-DETR Medium Finetuned on LISA Traffic Lights

0

4 commits

2 linked in READMEs

updated Oct 1, 2026

See the code

README

RF-DETR Medium Finetuned on LISA Traffic Lights

Fine-tuned RF-DETR Medium object detector on the LISA Traffic Lights 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.

LISA Traffic Lights Detection Demo


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

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/lisa-rfdetr-medium",
    filename="checkpoint_best_total.pth"
)

model = rfdetr.RFDETRMedium(pretrain_weights=weights)

Run Inference

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

Performance

Evaluated on the LISA Traffic Lights test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).

MetricScore (%)
mAP@5033.01
mAP@50-9514.12
Precision69.37
Recall58.28
F1 Score63.34
Parameters33.7M
FLOPsN/A (not published upstream)

LISA Traffic Lights Model Zoo

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

ModelmAP@50mAP@50-95PrecisionRecall
RF-DETR Medium33.0114.1269.3758.28
RF-DETR Small32.715.1169.753.9
YOLO26m29.0813.6843.7929.71
YOLO26x28.9214.0943.5926.96
RF-DETR Nano27.4712.1674.9652.57
YOLO26l27.2813.5441.4227.99
YOLO26s26.9112.8242.4726.43
YOLO11x26.413.0953.9824.38
YOLOv8m25.0711.9138.1625.15
YOLO26n23.7410.5737.2325.7

Per-Class Performance

ClassmAP@50mAP@50-95
go65.3832.49
goForward0.00.0
goLeft16.935.68
stop63.3423.78
stopLeft15.856.68
warning53.725.46
warningLeft15.884.73

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.


Dataset

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

https://huggingface.co/datasets/dronefreak/LISA-Traffic-Lights

Classes

  • go
  • goForward
  • goLeft
  • stop
  • stopLeft
  • warning
  • warningLeft

Training Configuration

SettingValue
DatasetLISA Traffic Lights
FrameworkRF-DETR
Training ToolkitDetectionBench
Epochs (configured max)500
Epochs (actually trained)102
Early Stopping Patience100
Batch Size4
Resolution576
Optimizeradamw
Learning Rate0.0001
Seed42

Repository Contents

checkpoint_best_total.pth
metrics.csv
config.json
lisa_rfdetr-medium_showcase.jpg
README.md


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

  • Rare/underrepresented arrow classes (goForward, goLeft, stopLeft, warningLeft) have far fewer training examples than the base go/stop/warning classes and correspondingly lower detection accuracy across every model in this zoo.
  • Sequential dashcam video frames mean visually similar consecutive frames can appear within the same split; performance on genuinely novel scenes may differ from the reported test-split numbers.
  • Trained and evaluated only on San Diego daytime/nighttime driving sequences (Pacific Beach, La Jolla); generalization to different traffic-light hardware, road layouts, or camera setups is untested.
  • Small, distant traffic lights are harder to detect reliably, consistent with general small-object detection challenges.

Citation

If you use this model in your research, please consider citing the dataset and the model architecture:

@article{jensen2016vision,
  title={Vision for looking at traffic lights: Issues, survey, and perspectives},
  author={Jensen, Morten Born{\o} and Philipsen, Mark Philip and M{\o}gelmose, Andreas and Moeslund, Thomas Baltzer and Trivedi, Mohan Manubhai},
  journal={IEEE Transactions on Intelligent Transportation Systems},
  volume={17},
  number={7},
  pages={1800--1815},
  year={2016},
  doi={10.1109/TITS.2015.2509509},
  publisher={IEEE}
}

@inproceedings{philipsen2015traffic,
  title={Traffic light detection: A learning algorithm and evaluations on challenging dataset},
  author={Philipsen, Mark Philip and Jensen, Morten Born{\o} and M{\o}gelmose, Andreas and Moeslund, Thomas B and Trivedi, Mohan M},
  booktitle={Intelligent Transportation Systems (ITSC), 2015 IEEE 18th International Conference on},
  pages={2341--2345},
  year={2015},
  organization={IEEE}
}
@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}
}
advanced-driver-assistance-systems
autonomous-driving
computer-vision
detectionbench
model-index
object-detection
pytorch
rfdetr
self-driving-cars
traffic-lights