Instructions to use KumarjitC/plantulus-doctor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use KumarjitC/plantulus-doctor 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://KumarjitC/plantulus-doctor") - Notebooks
- Google Colab
- Kaggle
Download preprocessing.json from KumarjitC/plantulus-doctor: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/KumarjitC/plantulus-doctor/resolve/main/preprocessing.json
- Command line
-
hf download hf://KumarjitC/plantulus-doctor/preprocessing.json
-
curl -L -o preprocessing.json https://huggingface.co/KumarjitC/plantulus-doctor/resolve/main/preprocessing.json
355 Bytes
| { | |
| "input": "RGB image, float32 pixel values in [0, 255] (the model normalizes internally; do NOT divide by 255)", | |
| "resize": "resize the shorter side to 256px, centre-crop to 256x256, then centre-crop to 224x224", | |
| "input_shape": [ | |
| 1, | |
| 224, | |
| 224, | |
| 3 | |
| ], | |
| "output": "softmax probabilities over 54 classes, in the order of classes.json" | |
| } |