Instructions to use biruh/apple_disease_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use biruh/apple_disease_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://biruh/apple_disease_model") - Notebooks
- Google Colab
- Kaggle
File size: 249 Bytes
d34a6f0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"do_convert_rgb": true,
"do_normalize": true,
"image_processor_type": "Pix2StructImageProcessor",
"is_vqa": true,
"max_patches": 2048,
"patch_size": {
"height": 16,
"width": 16
},
"processor_class": "Pix2StructProcessor"
}
|