Image Classification
Keras
English
agriscan
agriculture
plant-disease
crop-classification
efficientnet
efficientnetb0
tensorflow
plantvillage
Instructions to use Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training 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://Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training") - Notebooks
- Google Colab
- Kaggle
Download disease_classification_report.csv from Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training/resolve/main/disease_classification_report.csv
- Command line
-
hf download hf://Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training/disease_classification_report.csv
-
curl -L -o disease_classification_report.csv https://huggingface.co/Vernard/AgriScan_EfficientNetB0_Two_Classifier_Training/resolve/main/disease_classification_report.csv
1.71 kB
| ,precision,recall,f1-score,support | |
| Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot,0.9142857142857143,0.897196261682243,0.9056603773584906,107.0 | |
| Corn_(maize)___Common_rust_,1.0,0.9953917050691244,0.9976905311778291,217.0 | |
| Corn_(maize)___Northern_Leaf_Blight,0.9454545454545454,0.9454545454545454,0.9454545454545454,220.0 | |
| Corn_(maize)___healthy,0.9960159362549801,1.0,0.998003992015968,250.0 | |
| Potato___Early_blight,0.9879518072289156,1.0,0.9939393939393939,164.0 | |
| Potato___Late_blight,0.9761904761904762,0.9669811320754716,0.9715639810426541,212.0 | |
| Potato___healthy,0.9696969696969697,1.0,0.9846153846153847,32.0 | |
| Tomato___Bacterial_spot,0.9839449541284404,0.9839449541284404,0.9839449541284404,436.0 | |
| Tomato___Early_blight,0.9587628865979382,0.8651162790697674,0.9095354523227384,215.0 | |
| Tomato___Late_blight,0.9437340153452686,0.984,0.9634464751958225,375.0 | |
| Tomato___Leaf_Mold,0.9940119760479041,0.9651162790697675,0.9793510324483776,172.0 | |
| Tomato___Septoria_leaf_spot,0.9672619047619048,0.9643916913946587,0.9658246656760773,337.0 | |
| Tomato___Spider_mites Two-spotted_spider_mite,0.9434523809523809,0.990625,0.9664634146341463,320.0 | |
| Tomato___Target_Spot,0.9425675675675675,0.96875,0.9554794520547946,288.0 | |
| Tomato___Tomato_Yellow_Leaf_Curl_Virus,0.9981600735970562,0.9863636363636363,0.9922267946959304,1100.0 | |
| Tomato___Tomato_mosaic_virus,0.9696969696969697,0.9696969696969697,0.9696969696969697,66.0 | |
| Tomato___healthy,0.9939577039274925,0.996969696969697,0.9954614220877458,330.0 | |
| accuracy,0.9750051642222681,0.9750051642222681,0.9750051642222681,0.9750051642222681 | |
| macro avg,0.9697144636314426,0.9694116559396659,0.9693152257967829,4841.0 | |
| weighted avg,0.9752442219862905,0.9750051642222681,0.9749148480133657,4841.0 | |