Downloads · 30 days
56
51% of all-time downloads
iloveass/kompon-damage-severity-detection
kompon-damage-severity-detection is a image segmentation model from iloveass. Use it for the image segmentation task on the model card, and read the license before you ship it in a product. It is set up for ultralytics. The card lists the license as apache-2.0.
Model A is a multi-class semantic and instance segmentation model trained on reinforced concrete damage images. It detects visible damage types such as cracks, spalling, exposed rebar, and concrete crushing, computing…
Downloads · 30 days
56
51% of all-time downloads
All-time downloads
110
Public
Repo size
23.9 MB
Likes
0
Public
Click a slice to open those files.
.pt23.9 MB · 100%
From the Hugging Face model README
Model A is a multi-class semantic and instance segmentation model trained on reinforced concrete damage images. It detects visible damage types such as cracks, spalling, exposed rebar, and concrete crushing, computing their coverage area to output a visual-concern tier for the Kapuni risk score.
yolov8s-seg)The model prioritizes Recall for critical structural dangers to avoid false reassurance during safety screenings.
0.7250.6570.7400.744| Class | Precision | Recall | mAP50 |
|---|---|---|---|
structural_crack | 0.892 | 0.838 | 0.901 |
rebar_corrosion | 0.814 | 0.795 | 0.846 |
spalling | 0.771 | 0.691 | 0.797 |
severe_distress | 0.750 | 0.599 | 0.693 |
microcrack | 0.475 | 0.362 | 0.387 |
You can load this model directly in Python using the ultralytics and huggingface_hub libraries.
pip install ultralytics huggingface_hub
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
# Download the model weights from Hugging Face
model_path = hf_hub_download(
repo_id="YOUR_HUGGINGFACE_USERNAME/kapuni-model-a", # Replace with your repo ID
filename="best.pt"
)
# Load the YOLO model
model = YOLO(model_path)
# Run inference on an image
results = model("path/to/your/image.jpg")
# Show results
results[0].show()