Upload README_MODEL.md with huggingface_hub
Browse files- README_MODEL.md +40 -0
README_MODEL.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tomato Disease Classification Model
|
| 2 |
+
|
| 3 |
+
## Model Description
|
| 4 |
+
|
| 5 |
+
This is a PyTorch model trained to classify tomato diseases with 3 classes accuracy. The model is specifically designed for agricultural applications in tomato disease detection and management.
|
| 6 |
+
|
| 7 |
+
## Model Files
|
| 8 |
+
|
| 9 |
+
- `best_model_3class.pth`: Pre-trained PyTorch model weights
|
| 10 |
+
|
| 11 |
+
## Usage
|
| 12 |
+
|
| 13 |
+
```python
|
| 14 |
+
import torch
|
| 15 |
+
|
| 16 |
+
# Load the model
|
| 17 |
+
model = torch.load('best_model_3class.pth')
|
| 18 |
+
model.eval()
|
| 19 |
+
|
| 20 |
+
# Use the model for inference
|
| 21 |
+
# Add your inference code here
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
## Model Architecture
|
| 25 |
+
|
| 26 |
+
- 3-class classification model
|
| 27 |
+
- PyTorch framework
|
| 28 |
+
- Optimized for tomato disease detection
|
| 29 |
+
|
| 30 |
+
## Training Data
|
| 31 |
+
|
| 32 |
+
The model was trained on tomato disease images for classification tasks related to plant pathology research.
|
| 33 |
+
|
| 34 |
+
## Citation
|
| 35 |
+
|
| 36 |
+
If you use this model, please cite appropriately in your research.
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
|
| 40 |
+
Please respect the terms of use for this model.
|