Instructions to use Spitblaze/Corn_Leaves_Disease_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Spitblaze/Corn_Leaves_Disease_Detection with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Spitblaze/Corn_Leaves_Disease_Detection") - Notebooks
- Google Colab
- Kaggle
Added Evaluation Results & Dependency Requirements
Browse files- .gitattributes +3 -0
- classification_report.json +39 -0
- confusion_matrix_heatmap.jpg +3 -0
- evaluation_results.json +4 -0
- requirements.txt +0 -0
- training_accuracy.jpg +3 -0
- training_loss.jpg +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
model.keras filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
model.keras filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
confusion_matrix_heatmap.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
training_accuracy.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
training_loss.jpg filter=lfs diff=lfs merge=lfs -text
|
classification_report.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Blight": {
|
| 3 |
+
"precision": 0.835820895522388,
|
| 4 |
+
"recall": 0.7567567567567568,
|
| 5 |
+
"f1-score": 0.7943262411347518,
|
| 6 |
+
"support": 222.0
|
| 7 |
+
},
|
| 8 |
+
"Common_Rust": {
|
| 9 |
+
"precision": 0.9565217391304348,
|
| 10 |
+
"recall": 0.8870967741935484,
|
| 11 |
+
"f1-score": 0.9205020920502092,
|
| 12 |
+
"support": 248.0
|
| 13 |
+
},
|
| 14 |
+
"Gray_Leaf_Spot": {
|
| 15 |
+
"precision": 0.6352201257861635,
|
| 16 |
+
"recall": 0.8278688524590164,
|
| 17 |
+
"f1-score": 0.7188612099644128,
|
| 18 |
+
"support": 122.0
|
| 19 |
+
},
|
| 20 |
+
"Healthy": {
|
| 21 |
+
"precision": 0.9838056680161943,
|
| 22 |
+
"recall": 0.9918367346938776,
|
| 23 |
+
"f1-score": 0.9878048780487805,
|
| 24 |
+
"support": 245.0
|
| 25 |
+
},
|
| 26 |
+
"accuracy": 0.8745519713261649,
|
| 27 |
+
"macro avg": {
|
| 28 |
+
"precision": 0.8528421071137952,
|
| 29 |
+
"recall": 0.8658897795257997,
|
| 30 |
+
"f1-score": 0.8553736052995385,
|
| 31 |
+
"support": 837.0
|
| 32 |
+
},
|
| 33 |
+
"weighted avg": {
|
| 34 |
+
"precision": 0.8856617373001165,
|
| 35 |
+
"recall": 0.8745519713261649,
|
| 36 |
+
"f1-score": 0.87734552819352,
|
| 37 |
+
"support": 837.0
|
| 38 |
+
}
|
| 39 |
+
}
|
confusion_matrix_heatmap.jpg
ADDED
|
Git LFS Details
|
evaluation_results.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"loss": 0.3211067318916321,
|
| 3 |
+
"accuracy": 0.8745519518852234
|
| 4 |
+
}
|
requirements.txt
ADDED
|
Binary file (2.45 kB). View file
|
|
|
training_accuracy.jpg
ADDED
|
Git LFS Details
|
training_loss.jpg
ADDED
|
Git LFS Details
|