Views
No views yet
| Parameter | Value |
|---|---|
| Base Model | yolo11m.pt (COCO pretrained) |
| Architecture | YOLO11m (C3k2 + C2PSA Spatial Attention) |
| Framework | Ultralytics v8.x |
| Training Hardware | Kaggle — NVIDIA T4 ×2 (Dual GPU) |
| Epochs | 50 |
| Input Resolution | 768×768 |
| Batch Size | Auto (batch=-1) |
| Optimizer | AdamW |
| Learning Rate | lr0=0.001, cosine decay to lrf=0.01 |
| Warmup | 3 epochs |
| Weight Decay | 0.0005 |
| AMP | Enabled (FP16 mixed precision) |
| Early Stopping | patience=10 (did not trigger — model was still improving) |
| Loss | Weight |
|---|---|
| Box Loss | 7.5 |
| Classification Loss | 1.0 |
| DFL Loss | 1.5 |
| Augmentation | Value |
|---|---|
| Mosaic | 1.0 |
| MixUp | 0.15 |
| Copy-Paste | 0.1 |
| HSV (H/S/V) | 0.015 / 0.7 / 0.4 |
| Rotation | ±10° |
| Scale | 0.5 |
| Shear | 2.0 |
| Horizontal Flip | 0.5 |
| Erasing | 0.3 |
| Label Smoothing | 0.05 |
| Close Mosaic | Last 8 epochs |
| Class ID | Class Name | Description |
|---|---|---|
| 🔴 0 | Pothole | Road surface cavities and depressions |
| 🟡 1 | Road Damage | Cracks, surface wear, and structural deterioration |
| 🟢 2 | Garbage | Street-level waste and debris accumulation |
Priority: Pothole (primary) > Garbage > Road Damage
| Metric | Score |
|---|---|
| mAP50 | 0.86 |
| mAP50-95 | — |
| Parameters | ~20M |
| Model Size | ~39 MB |
| Inference Speed | Real-time on GPU |
⚡ The model did not trigger early stopping at 50 epochs, indicating further training could yield additional performance gains.
1from ultralytics import YOLO
2
3# Load model
4model = YOLO("best.pt")
5
6# Run inference
7results = model("street_image.jpg", imgsz=768, conf=0.25)
8
9# Display results
10results[0].show()
11
12# Access detections
13for box in results[0].boxes:
14 cls = int(box.cls)
15 conf = float(box.conf)
16 xyxy = box.xyxy[0].tolist()
17 class_names = {0: "pothole", 1: "road_damage", 2: "garbage"}
18 print(f"{class_names[cls]}: {conf:.2f} at {xyxy}")1# TTA boosts mAP by +1-3% at the cost of inference speed
2results = model("street_image.jpg", imgsz=768, conf=0.25, augment=True)1results = model("street_image.jpg", conf=0.25)
2boxes = results[0].boxes
3pothole_mask = boxes.cls == 0
4pothole_boxes = boxes[pothole_mask]
5print(f"Found {len(pothole_boxes)} potholes")| Author | Vansh Momaya |
| Institution | D. J. Sanghvi College of Engineering |
| Focus Area | Computer Vision, Object Detection, AI for Civic Infrastructure |
| vanshmomaya9@gmail.com |
1@online{momaya2026potholenet,
2 author = {Vansh Momaya},
3 title = {PotholeNet-YOLO11m-v1: Real-Time Pothole and Civic Issue Detection for Indian Urban Roads},
4 year = {2026},
5 version = {v1},
6 url = {https://huggingface.co/Vansh180/PotholeNet-YOLO11m-v1},
7 institution = {D. J. Sanghvi College of Engineering},
8 note = {Fine-tuned YOLO11m model for detecting potholes, road damage, and garbage in Indian street imagery},
9 license = {MIT}
10}