Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ size_categories:
|
|
| 10 |
---
|
| 11 |
|
| 12 |
|
| 13 |
-
# πΏ Cassava-
|
| 14 |
|
| 15 |
## π Overview
|
| 16 |
|
|
@@ -34,3 +34,67 @@ To enable automated detection and classification of cassava leaf diseases using
|
|
| 34 |
## π§ Classes
|
| 35 |
|
| 36 |
The dataset contains the following classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
|
| 13 |
+
# πΏ Cassava-Dataset (YOLOv8 Format)
|
| 14 |
|
| 15 |
## π Overview
|
| 16 |
|
|
|
|
| 34 |
## π§ Classes
|
| 35 |
|
| 36 |
The dataset contains the following classes:
|
| 37 |
+
|
| 38 |
+
names:
|
| 39 |
+
- CBB
|
| 40 |
+
- CBSD
|
| 41 |
+
- CGM
|
| 42 |
+
- CMD
|
| 43 |
+
- HEALTHY
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## π Dataset Structure
|
| 48 |
+
cassava-7/
|
| 49 |
+
βββ train/
|
| 50 |
+
β βββ images/
|
| 51 |
+
β βββ labels/
|
| 52 |
+
βββ valid/
|
| 53 |
+
β βββ images/
|
| 54 |
+
β βββ labels/
|
| 55 |
+
βββ test/
|
| 56 |
+
β βββ images/
|
| 57 |
+
β βββ labels/
|
| 58 |
+
βββ data.yaml
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## βοΈ YOLOv8 Configuration
|
| 64 |
+
|
| 65 |
+
Example `data.yaml`:
|
| 66 |
+
|
| 67 |
+
```yaml
|
| 68 |
+
path: .
|
| 69 |
+
train: train/images
|
| 70 |
+
val: valid/images
|
| 71 |
+
test: test/images
|
| 72 |
+
|
| 73 |
+
names:
|
| 74 |
+
names:
|
| 75 |
+
- CBB
|
| 76 |
+
- CBSD
|
| 77 |
+
- CGM
|
| 78 |
+
- CMD
|
| 79 |
+
- HEALTHY
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
## π Usage (YOLOv8 Training)
|
| 83 |
+
Install dependencies
|
| 84 |
+
```yaml
|
| 85 |
+
pip install ultralytics
|
| 86 |
+
|
| 87 |
+
from ultralytics import YOLO
|
| 88 |
+
|
| 89 |
+
model = YOLO("yolov8n.pt")
|
| 90 |
+
|
| 91 |
+
model.train(
|
| 92 |
+
data="data.yaml",
|
| 93 |
+
epochs=50,
|
| 94 |
+
imgsz=640,
|
| 95 |
+
batch=16,
|
| 96 |
+
device=0
|
| 97 |
+
)
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
|