/ Модель

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

Лицензия
AGPL 3.0
Библиотека
ultralytics
Опубликована
15 ноя 2026

day4-group4-rc-damage-segmentation

Сегментация изображенийИзображение → mask3 профессии
119скачиваний за 30 дней0лайковвеса обновлены29 ноя 2026

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

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

YOLO26n-seg выделяет на фотографиях железобетонных конструкций пять типов повреждений для предварительной сортировки инспекционных снимков.

Модель создана командой Group 4 в рамках программы IAAC MaAI 2026/27. Это YOLO26n-seg на 3,1 млн параметров: модель предварительно обучена на COCO и дообучена на наборе из 2 119 фотографий повреждённых железобетонных конструкций. Она принимает RGB-фотографии и выделяет масками трещины, отслоения бетона, оголённую и корродировавшую арматуру, а также разрушения бетона. Модель предназначена для первичной сортировки инспекционных снимков зданий, парковок и мостов, чтобы инженер мог раньше проверить фотографии с вероятными повреждениями. Авторы рекомендуют проверять каждое изображение человеком; модель не предназначена для самостоятельной оценки безопасности конструкций, измерения ширины трещин или площади повреждений.

На тестовом наборе из 303 изображений mask mAP50 составила 0,478, а при пороге 0,30 точность — 0,75 и полнота — 0,69. Лучше всего модель распознаёт частые классы, например трещины; редкие и потенциально серьёзные повреждения, включая оголённую арматуру и разрушения, распознаются заметно хуже и могут получать неверную метку. В обучающих данных нет фотографий неповреждённого бетона, поэтому доля ложных тревог на целых поверхностях может быть выше. Модель рассчитана на фотографии железобетона, а не на другие материалы, ночные, тепловые или аэроснимки. Лицензия — AGPL-3.0.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

RC damage segmentation: cracks, spalling, exposed and corroded rebar, crushing

This model outlines five types of damage on photos of reinforced concrete: crack, spalling, exposed rebar, corroded rebar and crushing. It is meant to sort inspection photos, so that an engineer looks at the worst ones first. It is a YOLO26n-seg model (3.1 M parameters, pretrained on COCO), fine-tuned on the Reinforced concrete structure segmentation dataset 2119 (Wang, 2026).

Team: Group 4 – Luis, Fawad, Hetashri, Daria · AI Methods I, IAAC MaAI 2026/27 · Code: https://github.com/iaac-maai/Group4-day4-assignment

Model at a glance

Test images: truth vs prediction

Test images, annotation on the left, prediction on the right. Top: 4 random images, segmented well. Bottom: the 4 worst. Typical mistakes are a right outline with the wrong class and cracks cut into different pieces than the annotation.

Per-class AP on the test set

Good on the frequent classes (crack, corrosion: AP50 about 0.8), weak on the rare ones (about 0.2–0.3), which are also the most severe. Right: much better than simple rules (pixel IoU 0.77 vs 0.20 for cracks).

Test set (303 images)mask mAP50mask mAP50-95
Pretrained YOLO26n-seg, no fine-tuning0.000.00
This model0.4780.301

At the recommended threshold 0.30: precision 0.75, recall 0.69.

Intended use

  • Intended users and use: facility managers, inspectors and researchers who screen photos of RC structures (buildings, parking garages, bridges) to find and rank the photos that show damage, before an engineer looks at them. Always with a human looking at every photo.
  • Out-of-scope uses: structural safety or load-capacity decisions on its own, or declaring an element safe ("no damage found" is not "no damage"); measuring crack widths or damaged areas in m² (there is no scale); other materials (masonry, steel, timber, asphalt); aerial, thermal or night images; any decision about individual people.

Model details

ArchitectureYOLO26n-seg (Ultralytics), 3.1 M parameters
Base modelyolo26n-seg.pt, pretrained on COCO
InputRGB image, resized to 640 px (longest side)
Outputper damage: outline (mask), box, class, confidence
Versionsultralytics 8.4.210, torch 2.15.0, Python 3.12
IDClassDefinition
0cracka crack line, hairline to wide
1spallingconcrete broken off, no visible rebar
2rebar_exposurevisible rebar, not (or barely) rusted
3rebar_corrosionvisible rusted rebar
4crushingconcrete crushed under compression

Training data

Wang, J. (2026), Reinforced concrete structure segmentation dataset 2119, Mendeley Data, V1, doi:10.17632/2vkm6k4cfg.1, CC BY 4.0. 2,119 photos of damaged RC structures collected by the authors from public datasets, with 3,124 polygons (crack 1,833, spalling 282, rebar exposure 89, rebar corrosion 832, crushing 88). Every photo shows damage; mostly close-ups, various structures, cameras and lighting.

Split by duplicate group: many photos are flipped, rotated or cropped copies of each other (77 % of the images are in a group). We grouped copies (perceptual hash + ResNet18 features) and kept every group in one split: train 1,513 / validation 303 / test 303 images.

Training procedure

50 epochs (patience 15), batch 16, image size 640, optimizer auto (Ultralytics), initial learning rate 0.01, momentum 0.937, weight decay 0.0005, Ultralytics default augmentation, seed 42, on an Apple M4 laptop GPU (90 min). Best epoch: 47. An experiment with image size 416 was 0.024 mask mAP50 worse on validation, so we kept 640.

Training curves

Validation mAP rises fast for 20 epochs, then slowly to 0.56. The validation loss stays flat while the training loss keeps falling: beginning overfitting.

Evaluation

Class (test polygons)mask AP50mask AP50-95
crack (283)0.830.50
spalling (34)0.280.16
rebar_exposure (12)0.280.20
rebar_corrosion (98)0.780.52
crushing (11)0.220.12

What happened to each damage

Test set, threshold 0.30: for each true damage, found with the right class (blue), found but called another class (orange), or missed (grey), with the 95 % confidence interval. The rare classes are mostly outlined but misnamed (often as rebar corrosion): counted with any class, 20 of 34 spalling areas, 9 of 12 exposed bars and 8 of 11 crushed areas are found. Right: 62 of 400 flagged outlines lie on no annotated damage, 40 of them cracks (joints, edges, shadows). The validation confusion matrix is in the GitHub repository.

Training examples vs test score

The more training polygons a class has, the higher its test AP. The weak classes are the rare ones; more data would help them most.

Failures

The worst validation images: cracks cut into different pieces, exposed bars called corrosion, several bars drawn as one spalling area.

Threshold sweep

Threshold = the lowest one with at least 70 % precision on validation: 0.30. Exposed rebar has recall 0 at every threshold.

Application: bridge photos ranked

44 new photos of a damaged bridge (Achim Hering, Wikimedia Commons, CC BY 3.0), ranked by the most severe damage found. Ranks 2 and 4 are right, rank 1 is a false alarm (shadowed pier edge), and one photo with clearly corroded bars was missed.

Limitations and biases

  • Rare classes are weak (AP50 0.22–0.28), and they are the severe ones: rebar exposure and crushing have fewer than 100 polygons each.

  • No intact concrete in the data: every photo shows damage, so false alarms on healthy surfaces are probably underestimated.

  • Optimistic for new buildings: half of the test images resemble a training image (all of them crack photos). Crack AP50 is 0.89 on those and 0.68 on clearly new photos; expect the lower number for a new building.

    Similar vs new test photos

  • Unknown sources: the photos come from unnamed public datasets; two of our "new" bridge photos were in it.

  • Labels: inconsistent granularity (one crack vs several pieces); the line between rebar exposure and corrosion is a judgement call of the annotator.

  • Image conditions: shadows, joints, edges and rust stains from steel parts caused false alarms on the bridge photos; wet surfaces, paint or graffiti are probably also a problem.

  • No scale: damaged areas are shares of the photo, not of the element.

  • Rare-class scores rest on 11–34 test polygons; one training run per setting.

Ethics and privacy

The photos show structures, not people. Do not use the model to make safety decisions without an engineer: a photo without detected damage is not proof that a structure is safe.

How to use

from huggingface_hub import hf_hub_download
from ultralytics import YOLO

model = YOLO(hf_hub_download("iaac-maai/day4-group4-rc-damage-segmentation", "model.pt"))
result = model.predict("column.jpg", conf=0.30, imgsz=640)[0]
for cls, conf in zip(result.boxes.cls, result.boxes.conf):
    print(model.names[int(cls)], round(float(conf), 2))
result.save("column_damage.jpg")   # image with the outlines drawn

.pt files can run code when loaded: only load models you trust.

Reproducibility

Run notebook/object_detection.ipynb from the GitHub repository with requirements.txt. With TRAIN = False it downloads this model instead of training.

Authors and licence

Luis, Fawad, Hetashri, Daria (Group 4), IAAC MaAI 2026/27. Model: AGPL-3.0 (fine-tuned from Ultralytics YOLO). Data: Wang, J. (2026), Mendeley Data, V1, CC BY 4.0; please cite Wang & Ueda (2025), Structural Concrete 26(5), 5511–5534. Bridge photos: Achim Hering, CC BY 3.0.

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

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

GPU в ailist

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

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

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

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

0 моделей