/ Модель

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

Лицензия
AGPL 3.0
Базовая модель
YOLO26
Библиотека
ultralytics
Опубликована
16 сен 2026

grassland_weeds

Поиск объектовИзображение → bounding_boxes3 профессии
19скачиваний за 30 дней0лайковвеса обновлены17 сен 2026

Описание модели

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

Дообученная YOLO26m обнаруживает четыре вида луговых сорняков на фотографиях и подходит для картирования и подсчёта растений.

JacobsFarmextra выпустил дообученную на фотографиях луговых сорняков модель YOLO26m для обнаружения растений на изображениях. Она находит четыре класса: щавель (dock), бутень лесной (cow parsley), крапиву и чертополох, возвращая для каждого найденного растения класс, оценку уверенности и ограничивающую рамку. Модель основана на Ultralytics/YOLO26 и распространяется в формате PyTorch; в README указано 21,78 млн параметров для версии детекции.

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

Надёжность ограничена малым и несбалансированным набором данных: для бутеня, крапивы и чертополоха примеров мало, а условия съёмки и география ограничены. Модель распознаёт только четыре класса и может ошибочно относить похожие растения к одному из них; мелкие растения на больших снимках могут теряться при обработке с размером 640 пикселей. Лицензия — AGPL-3.0.

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

  • Поиск щавеля на фотографиях лугов
  • Обнаружение бутеня лесного на снимках травостоя
  • Подсчёт крапивы и чертополоха на полевых фотографиях
  • Картирование сорняков для планирования обработки участка
  • Проверка компьютерного зрения полевого робота для адресной борьбы с сорняками

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

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

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

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

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

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

Открыть на Hugging Face

Grassland Weeds models

YOLO models that find four common grassland weeds in photos: dock, cow parsley, stinging nettle and thistle. All models are fine-tuned from Ultralytics YOLO with the same dataset and the same training script, so they can be compared side by side. Detection models return a class, confidence and bounding box per plant; segmentation models also return a pixel mask.

Models

ModelTaskArchitectureParamsVal setBest / run epochsBox mAP@50Box mAP@50-95Mask mAP@50Mask mAP@50-95InferenceTrained
grassland_weedsV1.ptdetectYOLO26m21.78 M81be179324 / 440.7600.532––5.6 ms2026-09-17
grassland_weedsV1-seg.ptsegmentYOLO26m-seg26.98 Munknown52 / 720.8250.5310.8300.5837.4 ms2026-09-15

Newest model first. Scores are on the validation split of each model. Val set is a fingerprint of the validation images: models with the same fingerprint were evaluated on exactly the same images and can be compared directly. With different fingerprints, differences of a few points can come from the split alone. Read the limitations before you rely on these numbers.

Per class (mAP@50-95, number of validation instances in brackets)

ModelMetricDockweedCow ParsleyNettleThistle
grassland_weedsV1Box mAP@50-950.560 (128)0.445 (4)0.846 (2)0.275 (19)
grassland_weedsV1-segBox mAP@50-950.720 (113)0.244 (7)0.701 (13)0.459 (15)
grassland_weedsV1-segMask mAP@50-950.728 (113)0.344 (7)0.769 (13)0.491 (15)

Classes

IDClass nameSpeciesDutch name
0DockweedDock, Rumex spp. (e.g. broad-leaved dock, R. obtusifolius)Ridderzuring
1Cow ParsleyCow parsley, Anthriscus sylvestrisFluitenkruid
2NettleStinging nettle, Urtica dioicaGrote brandnetel
3ThistleThistle, Cirsium spp. (e.g. creeping thistle, C. arvense)Distel

Usage

pip install "ultralytics>=8.4.48" huggingface_hub
from huggingface_hub import hf_hub_download
from ultralytics import YOLO

# Pick any weights file from the table above
weights = hf_hub_download(repo_id="YOUR_USERNAME/grassland_weeds", filename="grassland_weedsV1.pt")
model = YOLO(weights)

results = model.predict("field_photo.jpg", imgsz=640, conf=0.25)

for r in results:
    for cls_id, conf, box in zip(r.boxes.cls, r.boxes.conf, r.boxes.xyxy):
        print(model.names[int(cls_id)], f"{float(conf):.2f}", [round(v) for v in box.tolist()])
    # segmentation models only: r.masks.xy contains one polygon per detected plant
    r.save("field_photo_pred.jpg")

From the command line, after downloading the weights:

yolo predict model=grassland_weedsV1.pt source=path/to/images imgsz=640 conf=0.25

Training data

The dataset is a custom set of smartphone photos of weeds, labeled with polygons in YOLO segmentation format. Detection models use the enclosing bounding box of each polygon.

  • Labeling: each species was annotated as its own single-class dataset. The four sets were merged into one 4-class dataset and split randomly per image into 75% training and 25% validation. The split is made again before a training run, so the exact split can differ per model (see the data split table of each model).
  • Images: full-resolution smartphone photos (Google Pixel, 4080 × 3072, landscape and portrait), plus 237 dock images that were exported from Roboflow at 640 × 640. Some of those are crops of larger photos.
  • Photographed: dock in July 2025, May and September 2026; cow parsley in September 2026; nettle in May and September 2026; thistle in May, June and September 2026.
  • Preprocessing: during training, images are resized to 640 px on the long side.

Training setup

All models are trained with the same script and settings. Anything a model does differently is listed in its own section below.

SettingValue
EpochsMaximum 100, early stopping with patience 20
Selected checkpointEpoch with the highest validation fitness (mAP@50-95; box + mask for segmentation)
Batch size8
Image size640
OptimizerAdamW(lr=0.00125, momentum=0.9) (picked by optimizer=auto), weight decay 0.0005
Learning rate schedule3 warm-up epochs, then linear decay (lrf = 0.01)
Mixed precisionAMP
Seed0, deterministic
AugmentationSetting
Mosaic1.0
Rotation±10°
Translation±10%
Scaling±50%
Horizontal flipp = 0.5
HSV hue / saturation / value0.015 / 0.7 / 0.4
AlbumentationsBlur (p = 0.01), MedianBlur (p = 0.01), ToGray (p = 0.01), CLAHE (p = 0.01)
Not usedvertical flip, shear, perspective, mixup, cutmix, copy-paste

Model details

grassland_weedsV1

Weights filegrassland_weedsV1.pt (best epoch, FP16, 44.0 MB)
TaskObject detection (bounding boxes)
ArchitectureYOLO26m, fine-tuned from yolo26m.pt (COCO-pretrained)
Parameters21.78 M (20.35 M after layer fusion)
Compute74.7 GFLOPs (67.9 fused)
Input size640 × 640
Epochsstopped after 44 of max. 100 (patience 20), best epoch 24
Training timeabout 29 minutes
SoftwareUltralytics 8.4.48, PyTorch 2.8.0+cu128, Python 3.12.7
HardwareNVIDIA GeForce RTX 5060 Ti (16 GB)
Training date2026-09-17
Validation set81be1793

Data split

ClassTrain imagesTrain instancesVal imagesVal instances
Dockweed26936493128
Cow Parsley51034
Nettle163822
Thistle32461019
Total322458108153

Training progress (validation after each epoch, all epochs in results/grassland_weedsV1.csv)

EpochBox mAP@50Box mAP@50-95
10.0470.017
100.3750.247
200.4930.319
24 (best)0.7600.533
300.6860.518
400.6550.522
44 (last)0.6560.514

Evaluation (final validation of the selected checkpoint, fused, 640 px)

Box

ClassImagesInstancesPrecisionRecallmAP@50mAP@50-95
all1081530.5430.8230.7600.532
Dockweed931280.6480.8280.8060.560
Cow Parsley340.6220.8320.7250.445
Nettle220.3371.0000.9950.846
Thistle10190.5660.6320.5130.275

Speed: 0.3 ms preprocess, 5.6 ms inference, 0.3 ms postprocess per image.

Notes

  • Low precision (0.54) with high recall (0.82) at the default threshold: expect false positives. A higher conf threshold can reduce them.
  • Validation scores went up and down strongly between epochs and the best score came from a single epoch (24), so the reported numbers may be partly luck.
  • Only 2 nettle and 4 cow parsley validation instances; the nettle mAP@50 of 0.995 says very little.

grassland_weedsV1-seg

Weights filegrassland_weedsV1-seg.pt (best epoch, FP16, 54.5 MB)
TaskInstance segmentation (boxes + masks)
ArchitectureYOLO26m-seg, fine-tuned from yolo26m-seg.pt (COCO-pretrained)
Parameters26.98 M (23.51 M after layer fusion)
Compute131.9 GFLOPs (121.2 fused)
Input size640 × 640
Epochsstopped after 72 of max. 100 (patience 20), best epoch 52
Training timeabout 53 minutes
SoftwareUltralytics 8.4.48, PyTorch 2.8.0+cu128, Python 3.12.7
HardwareNVIDIA GeForce RTX 5060 Ti (16 GB)
Training date2026-09-15
Validation setunknown

Data split

ClassTrain imagesTrain instancesVal imagesVal instances
Dockweed27337989113
Cow Parsley6727
Nettle1227613
Thistle31501115
Total323463108148

Background images without objects: 1 in train.

Training progress (validation after each epoch, all epochs in results/grassland_weedsV1-seg.csv)

EpochBox mAP@50Box mAP@50-95Mask mAP@50Mask mAP@50-95
10.1220.0790.1220.083
100.4480.2940.4650.277
200.5420.3040.5270.347
300.6160.4370.6280.444
400.6620.3900.7070.443
500.8050.5250.8140.548
52 (best)0.8260.5320.8310.584
600.8520.5220.8660.538
700.8100.5200.8310.546
72 (last)0.8330.5420.8660.572

Evaluation (final validation of the selected checkpoint, fused, 640 px)

Mask

ClassImagesInstancesPrecisionRecallmAP@50mAP@50-95
all1081480.8270.7080.8300.583
Dockweed891130.8560.8140.9030.728
Cow Parsley271.0000.3500.6990.344
Nettle6130.6160.8660.9180.769
Thistle11150.8360.8000.7980.491

Box

ClassImagesInstancesPrecisionRecallmAP@50mAP@50-95
all1081480.8250.7070.8250.531
Dockweed891130.8450.8050.8960.720
Cow Parsley271.0000.3500.6990.244
Nettle6130.6180.8740.9180.701
Thistle11150.8350.8000.7850.459

Speed: 0.3 ms preprocess, 7.4 ms inference, 0.9 ms postprocess per image.

Notes

  • Validation split made before the bbox model's split, so its validation images differ from grassland_weedsV1 (fingerprint unknown).
  • Cow parsley has only 2 validation images (7 instances); its recall of 0.35 rests on very little data.

Intended use

  • Detecting (and, with the segmentation models, outlining) dock, cow parsley, nettle and thistle in grassland photos. Examples are weed mapping, counting plants, or the vision part of a field robot for targeted weed control.
  • Research and prototyping, or as a starting point for further fine-tuning.

Out of scope: other plant species, and fully automatic weed control without human checks. The models only know these four classes and may label similar-looking plants as one of them.

Limitations

These apply to all models. Model-specific points are in the notes of each model.

  • The dataset is small and imbalanced. About 430 images, of which 84% are dock. Cow parsley has only 8 images, and nettle and thistle are also under-represented.
  • Per-class scores are unreliable. The minority classes have only a handful of validation instances (see the numbers in brackets), so a few images can change their scores a lot.
  • There is no separate test set. The validation split is also used for early stopping and for picking the checkpoint, so the reported metrics are optimistic.
  • Train and validation may overlap. The split is random per image. Photos taken seconds apart of the same spot, and several crops of one original photo, can end up in both splits.
  • Each image was labeled for one species. Plants of another class that are visible in the same image may be unlabeled and treated as background.
  • Conditions are limited. The photos are from July 2025 and May–September 2026, and most are 4080 × 3072 smartphone photos. Other growth stages, seasons, regions, camera heights (for example drones) or lighting may give worse results.
  • Small plants are hard to detect. The models work at 640 px, so small plants in large photos shrink to a few pixels. A larger imgsz or tiled inference can help.

License

The weights are released under AGPL-3.0, the license of Ultralytics YOLO, which these models are based on. Using them outside the AGPL terms (for example in closed-source commercial products) requires an Ultralytics Enterprise License. The training images are not part of this repository.

Files

FileDescription
grassland_weedsV1.ptYOLO26m weights (epoch 24, FP16)
grassland_weedsV1-seg.ptYOLO26m-seg weights (epoch 52, FP16)
results/grassland_weedsV1.csvLosses, metrics and learning rates per epoch for grassland_weedsV1
results/grassland_weedsV1-seg.csvLosses, metrics and learning rates per epoch for grassland_weedsV1-seg
models/*.jsonMetadata per model, used to generate this card
card_tool.pyScript that adds models and regenerates this card
README.mdThis model card

Acknowledgements

Built with Ultralytics YOLO (documentation).

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

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

GPU в ailist

Универсальный рантайм · ultralytics

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

Модели Ultralytics YOLO требуют отдельного рантайма.

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

0 моделей