kendrickfff commited on
Commit
58a072a
Β·
verified Β·
1 Parent(s): c15b4f3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +171 -3
README.md CHANGED
@@ -1,3 +1,171 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+ Waste Classification - YOLOv8 Large (HighRes)
5
+
6
+ πŸ—‘οΈ Model Summary
7
+
8
+ This model is a fine-tuned version of YOLOv8 Large (yolov8l) designed for the detection and classification of 12 different types of waste materials. It was trained on high-resolution images (1280px) to capture fine details in trash objects.
9
+
10
+ This project was developed by Kendrick as a Capstone Mini-Project for the REA AI Engineering Bootcamp.
11
+
12
+ Model Architecture: YOLOv8-Large
13
+
14
+ Task: Object Detection
15
+
16
+ Input Resolution: 1280x1280
17
+
18
+ Classes: 12
19
+
20
+ 🎯 Intended Use
21
+
22
+ This model is intended to be used for:
23
+
24
+ Automated waste sorting systems.
25
+
26
+ Educational apps for recycling.
27
+
28
+ Environmental monitoring.
29
+
30
+ πŸ“Š Evaluation Results
31
+
32
+ The model was evaluated on a validation set of 1,935 images.
33
+
34
+ Metric
35
+
36
+ Score
37
+
38
+ Description
39
+
40
+ mAP@50
41
+
42
+ 0.783
43
+
44
+ Strong overall performance across all classes.
45
+
46
+ Precision
47
+
48
+ 0.797
49
+
50
+ High confidence in correct predictions.
51
+
52
+ Recall
53
+
54
+ 0.733
55
+
56
+ Good ability to find objects, though struggles with organic waste.
57
+
58
+ mAP@50-95
59
+
60
+ 0.576
61
+
62
+ High localization accuracy (bounding boxes are tight).
63
+
64
+ Performance by Class
65
+
66
+ The model excels at distinct rigid objects but struggles with amorphous organic matter.
67
+
68
+ Class
69
+
70
+ mAP@50
71
+
72
+ Status
73
+
74
+ Insight
75
+
76
+ Clothes
77
+
78
+ 0.987
79
+
80
+ 🌟 Excellent
81
+
82
+ Distinct shapes make this the easiest class.
83
+
84
+ Brown-Glass
85
+
86
+ 0.905
87
+
88
+ βœ… Very Good
89
+
90
+ Consistent texture and shape.
91
+
92
+ Shoes
93
+
94
+ 0.847
95
+
96
+ βœ… Good
97
+
98
+ High recall and precision.
99
+
100
+ Plastic
101
+
102
+ 0.706
103
+
104
+ ⚠️ Moderate
105
+
106
+ Struggles with transparency and deformation.
107
+
108
+ Biological
109
+
110
+ 0.580
111
+
112
+ ❌ Needs Work
113
+
114
+ High false negative rate.
115
+
116
+ πŸ” Deep Dive: Evaluation & Limitations
117
+
118
+ Based on the Confusion Matrix analysis, the model demonstrates specific behaviors:
119
+
120
+ The "Biological" Challenge:
121
+
122
+ The model has a low Recall (0.445) for the biological class.
123
+
124
+ Issue: It missed 741 instances of biological waste, misclassifying them as "Background".
125
+
126
+ Reason: Biological waste (food scraps, leaves) lacks a defined shape compared to bottles or cans, blending into the background.
127
+
128
+ False Positives:
129
+
130
+ There are 540 instances where the model predicted biological waste on empty backgrounds. This suggests potential noise in the training labels or confusion with complex background textures.
131
+
132
+ Background Confusion:
133
+
134
+ The cardboard class also shows confusion with the background (159 false positives), likely due to color similarity with flooring/ground.
135
+
136
+ βš™οΈ Training Configuration
137
+
138
+ The model was trained on an NVIDIA A100-SXM4-40GB GPU for 6.26 hours.
139
+
140
+ Epochs: 50
141
+
142
+ Batch Size: 8
143
+
144
+ Optimizer: AdamW (lr=0.000625)
145
+
146
+ Image Size: 1280 (High Res)
147
+
148
+ Augmentation: Standard YOLOv8 augmentations + Mosaic (disabled in last 10 epochs).
149
+
150
+ πŸ’» How to Use
151
+
152
+ You can use this model with the Ultralytics Python library:
153
+
154
+ from ultralytics import YOLO
155
+
156
+ # Load the model
157
+ model = YOLO("path/to/best.pt")
158
+
159
+ # Perform inference on an image
160
+ results = model("path/to/image.jpg")
161
+
162
+ # Display results
163
+ results[0].show()
164
+
165
+
166
+ πŸ‘¨β€πŸ’» Author
167
+
168
+ Kendrick
169
+ Alumni, REA AI Engineering Bootcamp
170
+
171
+ This model card was generated based on training logs and evaluation charts.