Upload 7c3beff0-2fcf-4388-b325-26f5543071cb/README.md with huggingface_hub
Browse files
7c3beff0-2fcf-4388-b325-26f5543071cb/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Plant Disease Detection Model - 7c3beff0-2fcf-4388-b325-26f5543071cb
|
| 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: 7c3beff0-2fcf-4388-b325-26f5543071cb
|
| 24 |
+
- Format: TensorFlow Lite
|
| 25 |
+
- Optimized: Yes
|