Image Classification
Keras
English
tensorflow
image-classification-multiclass
efficientnetv2
cabbage
plant-disease-classification
agricultural-ai
computer-vision
transfer-learning
leaf-disease
Eval Results (legacy)
Instructions to use Arko007/cabbageguard-efficientnetv2-8class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Arko007/cabbageguard-efficientnetv2-8class with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Arko007/cabbageguard-efficientnetv2-8class") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model": "tf.keras.applications.EfficientNetV2S", | |
| "dataset": "Arko007/cabbage-disease-classification-final", | |
| "split": "test", | |
| "n": 189, | |
| "test_used_for_model_selection": false, | |
| "overall": { | |
| "accuracy": 0.9682539682539683, | |
| "balanced_accuracy": 0.980849358974359, | |
| "macro_f1": 0.9723042007524766, | |
| "macro_precision": 0.9668935104529617, | |
| "macro_recall": 0.980849358974359, | |
| "weighted_f1": 0.9683149670378279 | |
| }, | |
| "per_class": { | |
| "alternaria_leaf_spot": {"support": 39, "precision": 0.9714285714285714, "recall": 0.8717948717948718, "f1": 0.918918918918919}, | |
| "bacterial_leaf_spot": {"support": 25, "precision": 1.0, "recall": 1.0, "f1": 1.0}, | |
| "black_rot": {"support": 13, "precision": 0.8125, "recall": 1.0, "f1": 0.896551724137931}, | |
| "clubroot": {"support": 18, "precision": 1.0, "recall": 1.0, "f1": 1.0}, | |
| "downy_mildew": {"support": 28, "precision": 1.0, "recall": 1.0, "f1": 1.0}, | |
| "grey_mould": {"support": 9, "precision": 1.0, "recall": 1.0, "f1": 1.0}, | |
| "healthy": {"support": 40, "precision": 0.9512195121951219, "recall": 0.975, "f1": 0.9629629629629629}, | |
| "ringspot": {"support": 17, "precision": 1.0, "recall": 1.0, "f1": 1.0} | |
| }, | |
| "source_stratified": { | |
| "cabbageguard_canonical": {"n": 30, "accuracy": 0.8, "mean_confidence": 0.8593493362267812}, | |
| "kaggle_pest_ai": {"n": 135, "accuracy": 1.0, "mean_confidence": 0.994309276121634}, | |
| "mendeley_comprehensive_vegetable_leaf_disease": {"n": 24, "accuracy": 1.0, "mean_confidence": 0.9999648878971735} | |
| }, | |
| "confusion_matrix_class_order": [ | |
| "alternaria_leaf_spot", | |
| "bacterial_leaf_spot", | |
| "black_rot", | |
| "clubroot", | |
| "downy_mildew", | |
| "grey_mould", | |
| "healthy", | |
| "ringspot" | |
| ], | |
| "protocol": { | |
| "validation_selection_metric": "validation_macro_f1", | |
| "best_validation_epoch": 7, | |
| "best_validation_macro_f1": 0.9585248401011454, | |
| "train_only_augmentation": true, | |
| "validation_and_test_augmentation": false, | |
| "test_time_augmentation": false, | |
| "canonical_source_oversampling": 2, | |
| "targeted_oversampled_classes": ["alternaria_leaf_spot", "black_rot", "downy_mildew"], | |
| "class_weighting": "inverse_sqrt_train_frequency_with_targeted_modifiers", | |
| "seed": 42, | |
| "gpu": "Tesla P100-PCIE-16GB" | |
| }, | |
| "data_audit": { | |
| "total_images": 1272, | |
| "train": 891, | |
| "validation": 192, | |
| "test": 189, | |
| "corrupt_images": 0, | |
| "cross_split_exact_duplicate_groups": 0 | |
| } | |
| } | |