Object Detection
ultralytics
YOLOv10
PyTorch
English
yolo
yolov8
yolo11
road-damage
computer-vision
Eval Results (legacy)
Instructions to use nsr51324/Road_Damage_Object_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use nsr51324/Road_Damage_Object_Detection with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("nsr51324/Road_Damage_Object_Detection") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - YOLOv10
How to use nsr51324/Road_Damage_Object_Detection with YOLOv10:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("nsr51324/Road_Damage_Object_Detection") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -88,6 +88,16 @@ results = model("path/to/road_image.jpg")
|
|
| 88 |
results[0].show()
|
| 89 |
```
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
# Gradio User Interface
|
| 93 |
|
|
@@ -143,17 +153,6 @@ The Gradio interface can be deployed easily on:
|
|
| 143 |
|
| 144 |
---
|
| 145 |
|
| 146 |
-
## Training Data
|
| 147 |
-
|
| 148 |
-
Trained on a road-damage detection dataset hosted on Roboflow (7 damage classes, exported in YOLOv8 format). Bring your own Roboflow API key and project reference to re-download the exact split used in `Road_Damage.ipynb`, or substitute any YOLO-format road-damage dataset with a matching `data.yaml`.
|
| 149 |
-
|
| 150 |
-
## Training Procedure
|
| 151 |
-
|
| 152 |
-
- **Image size:** 640×640 · **Batch size:** 16 · **Epochs:** up to 50 (early stopping)
|
| 153 |
-
- **Early stopping patience:** 10 epochs for YOLOv8n, 3 epochs for YOLOv10n and YOLO11n
|
| 154 |
-
- Each model trained independently from its official Ultralytics pretrained weights (`yolov8n.pt`, `yolov10n.pt`, `yolo11n.pt`)
|
| 155 |
-
- Evaluated with the built-in Ultralytics validator (`model.val()`) — box precision/recall, mAP50, mAP50-95, and inference speed all reported directly from `DetMetrics`
|
| 156 |
-
|
| 157 |
## Limitations
|
| 158 |
|
| 159 |
This is a research/benchmarking project, not a production-ready inspection system. Detection quality (mAP50-95 in the 0.19–0.23 range) reflects a lightweight "nano" model family trained for a limited number of epochs on a single dataset — expect false negatives on damage types underrepresented in training data, and re-validate before any real-world deployment (e.g. road inspection, insurance assessment).
|
|
|
|
| 88 |
results[0].show()
|
| 89 |
```
|
| 90 |
|
| 91 |
+
## Training Data
|
| 92 |
+
|
| 93 |
+
Trained on a road-damage detection dataset hosted on Roboflow (7 damage classes, exported in YOLOv8 format). Bring your own Roboflow API key and project reference to re-download the exact split used in `Road_Damage.ipynb`, or substitute any YOLO-format road-damage dataset with a matching `data.yaml`.
|
| 94 |
+
|
| 95 |
+
## Training Procedure
|
| 96 |
+
|
| 97 |
+
- **Image size:** 640×640 · **Batch size:** 16 · **Epochs:** up to 50 (early stopping)
|
| 98 |
+
- **Early stopping patience:** 10 epochs for YOLOv8n, 3 epochs for YOLOv10n and YOLO11n
|
| 99 |
+
- Each model trained independently from its official Ultralytics pretrained weights (`yolov8n.pt`, `yolov10n.pt`, `yolo11n.pt`)
|
| 100 |
+
- Evaluated with the built-in Ultralytics validator (`model.val()`) — box precision/recall, mAP50, mAP50-95, and inference speed all reported directly from `DetMetrics`
|
| 101 |
|
| 102 |
# Gradio User Interface
|
| 103 |
|
|
|
|
| 153 |
|
| 154 |
---
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
## Limitations
|
| 157 |
|
| 158 |
This is a research/benchmarking project, not a production-ready inspection system. Detection quality (mAP50-95 in the 0.19–0.23 range) reflects a lightweight "nano" model family trained for a limited number of epochs on a single dataset — expect false negatives on damage types underrepresented in training data, and re-validate before any real-world deployment (e.g. road inspection, insurance assessment).
|