Instructions to use Eduard009/smartplant-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Eduard009/smartplant-model 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://Eduard009/smartplant-model") - Notebooks
- Google Colab
- Kaggle
Download label_map.json from Eduard009/smartplant-model: direct link, hf CLI and curl.
- Browser
- Download file 667 Bytes
-
https://huggingface.co/Eduard009/smartplant-model/resolve/main/label_map.json
- Command line
-
hf download hf://Eduard009/smartplant-model/label_map.json
-
curl -L -o label_map.json https://huggingface.co/Eduard009/smartplant-model/resolve/main/label_map.json
667 Bytes
| { | |
| "basil_downy_mildew": 0, | |
| "basil_healthy": 1, | |
| "basil_leaf_spots": 2, | |
| "basil_mold": 3, | |
| "basil_pest_damage": 4, | |
| "basil_wilting": 5, | |
| "basil_yellow_leaves": 6, | |
| "cactus_healthy": 7, | |
| "cactus_pests": 8, | |
| "cactus_root_rot": 9, | |
| "cactus_shriveling": 10, | |
| "cactus_spots": 11, | |
| "cactus_sunburn": 12, | |
| "ficus_dry_leaves": 13, | |
| "ficus_healthy": 14, | |
| "ficus_leaf_drop": 15, | |
| "ficus_leaf_spots": 16, | |
| "ficus_mold": 17, | |
| "ficus_yellow_leaves": 18, | |
| "tomato_brown_spots": 19, | |
| "tomato_fruit_rot": 20, | |
| "tomato_healthy": 21, | |
| "tomato_leaf_curl": 22, | |
| "tomato_mold": 23, | |
| "tomato_wilting": 24, | |
| "tomato_yellow_leaves": 25 | |
| } |