/ Модель

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

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

gwhd-rfdetr-medium

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

Дообученный RF-DETR Medium обнаруживает и локализует колосья пшеницы на полевых изображениях.

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

Бенчмарки

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

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

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

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

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

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

RF-DETR Medium — детектор объектов, дообученный автором dronefreak на наборе Global Wheat Head Dataset в рамках DetectionBench. Модель находит и локализует на изображениях колосья пшеницы; она рассчитана на анализ полевых снимков, в том числе при высокой плотности объектов и перекрытии соседних колосьев.

На тестовой выборке GWHD указаны mAP@50 67,1%, mAP@50–95 27,11% и precision 78,6%. Это одноклассовая модель: все целевые рамки относятся к классу wheat_head. Результаты различаются по странам, а качество на сортах и полевых условиях, не представленных в обучающих данных, не проверено. Базовая архитектура — RF-DETR Medium; модель распространяется в формате PyTorch через библиотеку rfdetr. Лицензия модели — Apache-2.0.

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

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

Ограничения

Модель распознаёт только класс wheat_head; точность зависит от страны и условий съёмки. Качество на сортах пшеницы и полевых условиях, не представленных в обучающих данных, не проверено.

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

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

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

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

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

Открыть на Hugging Face

RF-DETR Medium Finetuned on Global Wheat Head Dataset

Fine-tuned RF-DETR Medium object detector on the Global Wheat Head Dataset 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/gwhd-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 Global Wheat Head Dataset test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).

MetricScore (%)
mAP@5067.1
mAP@50-9527.11
Precision78.6
Recall65.66
F1 Score71.55
Parameters33.7M
FLOPsN/A (not published upstream)

Global Wheat Head Dataset Model Zoo

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

ModelmAP@50mAP@50-95PrecisionRecall
YOLO11x74.2534.9283.3767.92
YOLO26m71.5833.4879.9462.74
YOLO26s70.4931.3979.4763.43
YOLOv8m69.5529.3480.6963.74
YOLOv8s68.2929.4879.8962.52
RF-DETR Medium67.127.1178.665.66
YOLOv8n66.1928.2178.6960.3
RF-DETR Small64.5126.1277.663.61
RF-DETR Nano53.8219.6572.5253.64

Per-Class Performance

ClassmAP@50mAP@50-95
wheat_head67.127.11

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.


Per-Country Performance

Domain shift can matter more than the aggregate score above for field deployment, so this evaluates the same test split broken down by the contributing country/institution, using per-image domain metadata (domain_metadata.json in this repository) compiled by this project for this stratified evaluation -- not a file shipped with the original GWHD release. Each row below is computed by re-running this exact model's evaluation restricted to that country's images only -- the same mAP definition as the aggregate number above (Ultralytics' model.val() for YOLO, Supervision's MeanAveragePrecision for RF-DETR), just on a filtered subset, not a separate metric implementation. One test image with no resolvable country in the source metadata (a documented upstream duplicate-filename quirk) is excluded from every row below.

CountrymAP@50mAP@50-95Test Images
Australia57.8722.49281
China88.7143.81200
Japan71.138.8260
Mexico68.5427.99205
Sudan74.0334.0430
US64.9723.76605
See country_breakdown.json (results) and domain_metadata.json (the country/growth-stage mapping used to compute them) in this repository for the raw data behind this table.

Dataset

This model was trained on Global Wheat Head Dataset. For the full dataset description, provenance, license, and citation, see the dataset card:

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

Classes

  • wheat_head

Training Configuration

SettingValue
DatasetGlobal Wheat Head Dataset
FrameworkRF-DETR
Training ToolkitDetectionBench
Epochs (configured max)500
Epochs (actually trained)109
Early Stopping Patience100
Batch Size5
Resolution576
Optimizeradamw
Learning Rate0.0001
Seed42

Repository Contents

checkpoint_best_total.pth
metrics.csv
config.json
country_breakdown.json
domain_metadata.json
gwhd_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

  • Single-class, dense-detection dataset: every box is wheat_head, so per-class breakdowns collapse to one row -- the challenge here is localization density, not class discrimination.
  • Very dense annotations: ~45 wheat heads per image on average (up to 129 in a single image), with roughly 54% of boxes covering under 0.5% of the image area -- heavy box overlap and occlusion between adjacent heads is common.
  • A small fraction of images (~1.4% of the training split) contain zero wheat heads and are still included with empty ground truth, matching the official release's convention.
  • Assembled from field images across multiple countries/institutions with varying genotypes, growth stages, and imaging conditions -- performance on wheat varieties or field conditions not represented in this mix is untested.
  • Distributed under CC BY 4.0 (attribution required, commercial use permitted) -- see the dataset card for the full license text and provenance.

Citation

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

@article{david2021global,
  title = {Global Wheat Head Dataset 2021: more diversity to improve the benchmarking of wheat head localization methods},
  author = {David, Etienne and Serouart, Mario and Smith, Daniel and Madec, Simon and Velumani, Kaaviya and Liu, Shouyang and Wang, Xu and Pinto Espinosa, Francisco and Shafiee, Shahameh and Tahir, Izzat S. A. and Tsujimoto, Hisashi and Nasuda, Shuhei and Zheng, Bangyou and Kichgessner, Norbert and Aasen, Helge and Hund, Andreas and Sadhegi-Tehran, Pouria and Nagasawa, Koichi and Ishikawa, Goro and Dandrifosse, S{\'e}bastien and Carlier, Alexis and Mercatoris, Benoit and Kuroki, Ken and Wang, Haozhou and Ishii, Masanori and Badhon, Minhajul A. and Pozniak, Curtis and LeBauer, David Shaner and Lilimo, Morten and Poland, Jesse and Chapman, Scott and de Solan, Benoit and Baret, Fr{\'e}d{\'e}ric and Stavness, Ian and Guo, Wei},
  journal = {Plant Phenomics},
  year = {2021},
  doi = {10.34133/2021/9846158}
}

@article{david2020global,
  title = {Global Wheat Head Detection (GWHD) Dataset: A Large and Diverse Dataset of High-Resolution RGB-Labelled Images to Develop and Benchmark Wheat Head Detection Methods},
  author = {David, Etienne and Madec, Simon and Sadeghi-Tehran, Pouria and Aasen, Helge and Zheng, Bangyou and Liu, Shouyang and Kirchgessner, Norbert and Ishikawa, Goro and Nagasawa, Koichi and Badhon, Minhajul A. and Pozniak, Curtis and de Solan, Benoit and Hund, Andreas and Chapman, Scott C. and Baret, Fr{\'e}d{\'e}ric and Stavness, Ian and Guo, Wei},
  journal = {Plant Phenomics},
  year = {2020},
  doi = {10.34133/2020/3521852}
}
@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 в образе рантайма.

Ревизия весов
2ced81b

0 моделей