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:
# !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://Arko007/cabbageguard-efficientnetv2-8class") - Notebooks
- Google Colab
- Kaggle
Download config.json from Arko007/cabbageguard-efficientnetv2-8class: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/Arko007/cabbageguard-efficientnetv2-8class/resolve/main/config.json
- Command line
-
hf download hf://Arko007/cabbageguard-efficientnetv2-8class/config.json
-
curl -L -o config.json https://huggingface.co/Arko007/cabbageguard-efficientnetv2-8class/resolve/main/config.json
1.29 kB
| { | |
| "model_type": "image-classification", | |
| "framework": "tensorflow", | |
| "architecture": "EfficientNetV2S", | |
| "pretrained": "ImageNet", | |
| "input_shape": [384, 384, 3], | |
| "num_classes": 8, | |
| "include_preprocessing": true, | |
| "classes_file": "classes.json", | |
| "class_names": [ | |
| "alternaria_leaf_spot", | |
| "bacterial_leaf_spot", | |
| "black_rot", | |
| "clubroot", | |
| "downy_mildew", | |
| "grey_mould", | |
| "healthy", | |
| "ringspot" | |
| ], | |
| "training_dataset": "Arko007/cabbage-disease-classification-final", | |
| "training_images": 1272, | |
| "split_counts": {"train": 891, "validation": 192, "test": 189}, | |
| "training_hardware": "Tesla P100-PCIE-16GB", | |
| "training_seed": 42, | |
| "selection_metric": "validation_macro_f1", | |
| "best_validation_epoch": 7, | |
| "best_validation_macro_f1": 0.9585248401011454, | |
| "augmentation": { | |
| "train_only": true, | |
| "validation_and_test": false, | |
| "test_time_augmentation": false, | |
| "layers": ["RandomFlip", "RandomRotation", "RandomZoom", "RandomTranslation", "RandomContrast"] | |
| }, | |
| "deployment_notes": { | |
| "expected_filename": "final.keras", | |
| "requires_class_order_from": "classes.json", | |
| "production_backend_must_expose_all_eight_classes": true, | |
| "current_legacy_app_contract_at_training_time": "four_class; update before integration" | |
| } | |
| } | |