Instructions to use nico9ga/fruits-Classification-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use nico9ga/fruits-Classification-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://nico9ga/fruits-Classification-Model") - Notebooks
- Google Colab
- Kaggle
Create config.json
Browse files- config.json +6 -0
config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"num_classes": 20,
|
| 3 |
+
"class_names": ["Banano", "Durazno", "Fresa", "Guanabana", "Guayaba", "Kiwi", "Limon", "Lulo", "Mandarina", "Mango", "Manzana", "Manzana Verde", "Melon", "Mora", "Naranja", "Papaya", "Pera", "Piña", "Sandia", "Tomate de Arbol"],
|
| 4 |
+
"input_size": [100, 100, 3],
|
| 5 |
+
"model_type": "ResNet50V2"
|
| 6 |
+
}
|