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
| { | |
| "class_names": [ | |
| "Baked Potato", | |
| "Burger", | |
| "Crispy Chicken", | |
| "Donut", | |
| "Fries", | |
| "Hot Dog", | |
| "Other", | |
| "Pizza", | |
| "Sandwich" | |
| ], | |
| "num_classes": 9, | |
| "id2label": { | |
| "0": "Baked Potato", | |
| "1": "Burger", | |
| "2": "Crispy Chicken", | |
| "3": "Donut", | |
| "4": "Fries", | |
| "5": "Hot Dog", | |
| "6": "Other", | |
| "7": "Pizza", | |
| "8": "Sandwich" | |
| }, | |
| "label2id": { | |
| "Baked Potato": 0, | |
| "Burger": 1, | |
| "Crispy Chicken": 2, | |
| "Donut": 3, | |
| "Fries": 4, | |
| "Hot Dog": 5, | |
| "Other": 6, | |
| "Pizza": 7, | |
| "Sandwich": 8 | |
| } | |
| } |