Upload af606ff3-e32f-4d0a-b46e-1af9e310a9ab/README.md with huggingface_hub
Browse files
af606ff3-e32f-4d0a-b46e-1af9e310a9ab/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Plant Disease Detection Model - af606ff3-e32f-4d0a-b46e-1af9e310a9ab
|
2 |
+
|
3 |
+
This folder contains the trained YOLO model for plant disease detection.
|
4 |
+
|
5 |
+
## Files:
|
6 |
+
- `model.tflite`: TensorFlow Lite model for inference
|
7 |
+
- `classes.txt`: Class labels for the model
|
8 |
+
|
9 |
+
## Usage:
|
10 |
+
```python
|
11 |
+
import tensorflow as tf
|
12 |
+
|
13 |
+
# Load the model
|
14 |
+
interpreter = tf.lite.Interpreter(model_path="model.tflite")
|
15 |
+
interpreter.allocate_tensors()
|
16 |
+
|
17 |
+
# Load classes
|
18 |
+
with open("classes.txt", "r") as f:
|
19 |
+
classes = [line.strip() for line in f.readlines()]
|
20 |
+
```
|
21 |
+
|
22 |
+
## Model Information:
|
23 |
+
- Plant ID: af606ff3-e32f-4d0a-b46e-1af9e310a9ab
|
24 |
+
- Format: TensorFlow Lite
|
25 |
+
- Optimized: Yes
|