Car damage detector — YOLO11m fine-tuned with clean-car negatives
Detects 6 damage types on car photos: dent, scratch, crack, shattered_glass, broken_lamp, flat_tire. Part of the PanelPilot car-damage → panel localisation project (CMU 24-679).
Training
- Start: public YOLO11m car-damage weights (ReverendBayes/YOLO11m-Car-Damage-Detector), 20.1M params
- Data: CarDD images that have at least one damage box (unlabeled ones dropped) + undamaged Carparts-Seg images with empty labels as negatives, so intact glass, headlights and reflections are not flagged
- Split: fixed 80/10/10 hash split of the labelled CarDD images
- Settings: 30 epochs, imgsz 640, batch 16, AdamW lr0 0.0002, cosine LR, close_mosaic 5
Validation (best epoch)
| metric | value |
|---|---|
| best epoch | 30 |
| epochs run | 30 |
| val precision | 0.877 |
| val recall | 0.878 |
| val mAP50 | 0.924 |
| val mAP50-95 | 0.839 |
Before vs after fine-tuning
| clean-car false-alarm rate | CarDD test mAP50 | mAP50-95 | |
|---|---|---|---|
| original (ReverendBayes) | 75.0% | 0.229 | 0.184 |
| fine-tuned (this model) | 4.0% | 0.899 | 0.838 |
False-alarm rate = share of undamaged Carparts-Seg test images with at least one damage box at conf 0.25.
Use
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
model = YOLO(hf_hub_download("shanexf/car-damage-yolo11m-ft", "damage_best.pt"))
res = model.predict("car.jpg", conf=0.25)
Data licence
Fine-tuned on CarDD (Wang et al., IEEE T-ITS 2023), distributed by its authors under a licensing agreement (https://cardd-ustc.github.io/). Use of these weights should respect that agreement.