Image Classification
Keras
LiteRT
English
mobilenet-v2-035
food-classification
efficientnet
tensorflow
tfjs
transfer-learning
Eval Results (legacy)
Instructions to use zeyuai/efficientnet-food-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeyuai/efficientnet-food-classifier with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeyuai/efficientnet-food-classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_type": "mobilenet-v2-035", | |
| "task": "image-classification", | |
| "framework": "tensorflow", | |
| "input_size": 224, | |
| "input_shape": [ | |
| 1, | |
| 224, | |
| 224, | |
| 3 | |
| ], | |
| "num_classes": 9, | |
| "class_names": [ | |
| "Baked Potato", | |
| "Burger", | |
| "Crispy Chicken", | |
| "Donut", | |
| "Fries", | |
| "Hot Dog", | |
| "Other", | |
| "Pizza", | |
| "Sandwich" | |
| ], | |
| "preprocessing": { | |
| "resize": [ | |
| 224, | |
| 224 | |
| ], | |
| "normalization": "mobilenet_v2", | |
| "note": "Use tf.keras.applications.mobilenet_v2.preprocess_input()" | |
| }, | |
| "source_model": "BestModelEfficientNetLite.keras", | |
| "formats_available": [ | |
| "keras", | |
| "tflite", | |
| "tfjs" | |
| ] | |
| } |