/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
rf-detr-medium
Библиотека
rfdetr
Опубликована
21 авг 2026

lisa-rfdetr-medium

Поиск объектовИзображение → bounding_boxes

Дообученный RF-DETR Medium обнаруживает светофоры и распознаёт состояние их сигналов на дорожных изображениях.

24скачиваний за 30 дней0лайковвеса обновлены1 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

RF-DETR Medium — детектор объектов, разработанный Roboflow и дообученный автором репозитория на наборе LISA Traffic Lights в рамках DetectionBench. Модель предназначена для обнаружения светофоров и определения состояния сигнала в изображениях дорожной обстановки; категории включают go, goForward, goLeft, stop, stopLeft, warning и warningLeft.

Модель принимает изображения и выдаёт найденные объекты с ограничивающими рамками и метками классов. На тестовой выборке LISA Traffic Lights указаны mAP@50 33,01%, mAP@50–95 14,12%, точность 69,37% и полнота 58,28%. Репозиторий содержит веса PyTorch, лицензия — Apache-2.0.

Качество ниже для редких классов со стрелками, а маленькие и удалённые светофоры обнаруживать сложнее. Данные охватывают дневные и ночные поездки в нескольких районах Сан-Диего; перенос на другие типы светофоров, дорог и камер не проверен, а сходство соседних кадров в разделениях датасета может завышать оценку обобщения.

Сценарии применения

  • поиск светофоров на кадрах с видеорегистратора
  • определение красного, зелёного и предупреждающего сигнала
  • распознавание сигналов светофора со стрелками
  • оценка детекторов на наборе LISA Traffic Lights

Ограничения

Редкие классы сигналов со стрелками распознаются хуже; маленькие и удалённые светофоры также сложны для обнаружения. Обобщение на другие регионы, оборудование светофоров, дорожные условия и камеры не проверено.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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.


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

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

  • 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}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · rfdetr · object-detection

Нельзя запустить

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
bbcccd2

0 моделей