edcelbogs commited on
Commit
98b8606
Β·
verified Β·
1 Parent(s): 2af6de7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -1
README.md CHANGED
@@ -10,7 +10,7 @@ size_categories:
10
  ---
11
 
12
 
13
- # 🌿 Cassava-7 Dataset (YOLOv8 Format)
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
+