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
Download classification_report.json from Spitblaze/Corn_Leaves_Disease_Detection: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/Spitblaze/Corn_Leaves_Disease_Detection/resolve/main/classification_report.json
- Command line
-
hf download hf://Spitblaze/Corn_Leaves_Disease_Detection/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/Spitblaze/Corn_Leaves_Disease_Detection/resolve/main/classification_report.json
1.1 kB
| { | |
| "Blight": { | |
| "precision": 0.835820895522388, | |
| "recall": 0.7567567567567568, | |
| "f1-score": 0.7943262411347518, | |
| "support": 222.0 | |
| }, | |
| "Common_Rust": { | |
| "precision": 0.9565217391304348, | |
| "recall": 0.8870967741935484, | |
| "f1-score": 0.9205020920502092, | |
| "support": 248.0 | |
| }, | |
| "Gray_Leaf_Spot": { | |
| "precision": 0.6352201257861635, | |
| "recall": 0.8278688524590164, | |
| "f1-score": 0.7188612099644128, | |
| "support": 122.0 | |
| }, | |
| "Healthy": { | |
| "precision": 0.9838056680161943, | |
| "recall": 0.9918367346938776, | |
| "f1-score": 0.9878048780487805, | |
| "support": 245.0 | |
| }, | |
| "accuracy": 0.8745519713261649, | |
| "macro avg": { | |
| "precision": 0.8528421071137952, | |
| "recall": 0.8658897795257997, | |
| "f1-score": 0.8553736052995385, | |
| "support": 837.0 | |
| }, | |
| "weighted avg": { | |
| "precision": 0.8856617373001165, | |
| "recall": 0.8745519713261649, | |
| "f1-score": 0.87734552819352, | |
| "support": 837.0 | |
| } | |
| } |