rupesh002 commited on
Commit
8842569
·
verified ·
1 Parent(s): fb6c4ac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -3
README.md CHANGED
@@ -1,3 +1,49 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language: en
4
+ tags:
5
+ - pytorch
6
+ - image-classification
7
+ - computer-vision
8
+ - pothole-detection
9
+ ---
10
+
11
+ # 🧠 Pothole Detection Model (ResNet18)
12
+
13
+ This repository contains a fine-tuned **ResNet18** model for classifying whether a road image contains a **pothole** or not.
14
+ The model was developed as part of the **Zindi MIIA Pothole Image Classification Challenge**, focused on improving road safety in South Africa.
15
+
16
+ ## 📚 Project Overview
17
+ - **Task:** Binary image classification (`pothole` / `no_pothole`)
18
+ - **Framework:** PyTorch + torchvision
19
+ - **Model:** ResNet18 (pretrained on ImageNet, fine-tuned)
20
+ - **Evaluation Metric:** AUC (Area Under the Curve)
21
+ - **Dataset Source:** [rupesh002/Patholes_Dataset](https://huggingface.co/datasets/rupesh002/Patholes_Dataset)
22
+
23
+ ---
24
+
25
+ ## 🔗 Full Project Code
26
+ The complete project (training, inference, and notebook) is available on GitHub:
27
+ 👉 [MIIA Pothole Image Classification on GitHub](https://github.com/Rupeshbhardwaj002/MIIA_Pothole_Image_Classification_SouthAfrica)
28
+
29
+ It includes:
30
+ - Data preprocessing
31
+ - Model training pipeline (`train.py`)
32
+ - Prediction and submission script (`predict.py`)
33
+ - Notebook used for Zindi competition submission
34
+
35
+ ---
36
+
37
+ ## ⚙️ How to Load This Model
38
+
39
+ ```python
40
+ from huggingface_hub import hf_hub_download
41
+ import joblib
42
+
43
+ model_path = hf_hub_download(
44
+ repo_id="rupesh002/pothole_detection_model",
45
+ filename="model.pkl",
46
+ repo_type="model"
47
+ )
48
+
49
+ model = joblib.load(model_path)