ethz/food101
Viewer β’ Updated β’ 101k β’ 35.3k β’ 160
How to use ml-debi/EfficientNetB0-Food101 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://ml-debi/EfficientNetB0-Food101")