/ Модель

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

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

hrp4k-rfdetr-small

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

Детектор RF-DETR Small, дообученный для поиска выбоин на изображениях дорожного покрытия из набора HRP4K.

46скачиваний за 30 дней0лайковвеса обновлены21 ноя 2026

Бенчмарки

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

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

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

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

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

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

RF-DETR Small — детектор объектов на базе трансформера, дообученный автором репозитория dronefreak на наборе HRP4K в рамках DetectionBench. Модель предназначена для обнаружения выбоин на изображениях дорожного покрытия; поддерживается один класс — pothole. Она принимает изображения и выдаёт рамки обнаруженных объектов с оценками уверенности.

На тестовой выборке HRP4K модель получила mAP@50 56,04%, mAP@50–95 31,54%, точность 62,01% и полноту 55,48%. Набор включает кадры 4K, а типичные выбоины занимают небольшую часть изображения. Репозиторий содержит веса Safetensors, модель использует библиотеку rfdetr и распространяется по лицензии Apache-2.0.

Качество обнаружения зависит от разрешения входа: при уменьшении 4K-кадров до 640 пикселей мелкие выбоины могут занимать всего несколько пикселей. Обучение выполнено на неполной обучающей части HRP4K; проверена только одна камера-перспектива, поэтому перенос на съёмку с автомобиля или с воздуха не подтверждён. Тестовая выборка содержит 900 изображений, и небольшие различия метрик следует трактовать осторожно.

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

  • поиск выбоин на снимках дорог
  • автоматическая разметка дефектов дорожного покрытия
  • оценка состояния дорог по изображениям
  • подготовка данных для системы инспекции дорожной инфраструктуры

Ограничения

Модель обучена на неполном train-разбиении HRP4K и одном классе; качество на иных ракурсах съёмки не проверено. Мелкие выбоины чувствительны к снижению разрешения, а тестовая выборка сравнительно мала.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

RF-DETR Small Finetuned on HRP4K

Fine-tuned RF-DETR Small object detector on the HRP4K 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/hrp4k-rfdetr-small",
    filename="checkpoint_best_total.pth"
)

model = rfdetr.RFDETRSmall(pretrain_weights=weights)

Run Inference

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

Performance

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

MetricScore (%)
mAP@5056.04
mAP@50-9531.54
Precision62.01
Recall55.48
F1 Score58.57
Parameters32.1M
FLOPsN/A (not published upstream)

HRP4K Model Zoo

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

ModelmAP@50mAP@50-95PrecisionRecall
RF-DETR Small56.0431.5462.0155.48
RF-DETR Medium55.6631.8164.2551.9
RF-DETR Nano52.0628.6262.0347.88
YOLO26m51.6229.8357.3349.89
YOLO26s48.6527.1660.0446.91
YOLOv8n48.5826.2458.046.58
YOLOv8s47.5926.7159.8144.3
YOLOv8m47.2626.7759.5644.52

Per-Class Performance

ClassmAP@50mAP@50-95
pothole56.0431.54

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 HRP4K. For the full dataset description, provenance, license, and citation, see the dataset card:

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

Classes

  • pothole

Training Configuration

SettingValue
DatasetHRP4K
FrameworkRF-DETR
Training ToolkitDetectionBench
Epochs (configured max)100
Epochs (actually trained)25
Early Stopping Patience15
Batch Size3
Resolution896
Optimizeradamw
Learning Rate0.0001
Seed42

Repository Contents

checkpoint_best_total.pth
metrics.csv
config.json
hrp4k_rfdetr-small_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

  • Incomplete upstream train split: the official train.json references 4,203 images, but the released archive ships only 2,286 of them, so the training set here is 2,286 images with 2,790 boxes (the validation and test splits are complete at 900 images each).
  • Single class, sparse targets: every box is a pothole, with only about 1.2 boxes per image, and roughly a third of the images in every split contain no pothole at all (789 of 2,286 train, 300 of 900 valid, 300 of 900 test). Those empty test frames mean a false positive on a clean road directly lowers precision.
  • Small targets in very large frames: every image is 3840x2160 (4K), and the median pothole is only about 61 px wide on the native frame (0.05% of the image area; the smallest 5% are under 16 px), so results depend strongly on the input resolution the model was trained and evaluated at -- at 640 px most potholes shrink to a few pixels.
  • Wide, perspective-view boxes: the median box is about 2.9 times wider than tall, reflecting the dataset's road-surface perspective, so generalization to other camera positions (e.g. aerial or vehicle mounted) is untested.
  • Small test split: 900 images with 921 boxes, so differences of about one mAP point between models are within noise and should be read with caution.

Citation

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

@article{chen2026hrp4k,
  title={A high-resolution perspective-view road image dataset for pothole detection},
  author={Chen, Hanshen and Tu, Zhoulin and Zhao, Yu and Ye, Jianfeng},
  journal={Scientific Data},
  volume={13},
  pages={961},
  year={2026},
  doi={10.1038/s41597-026-07317-w}
}
@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

Можно запустить

Подбираем GPU…

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

0 моделей