ethz/food101
Viewer โข Updated โข 101k โข 38k โข 154
Run mhamza-007/Food-Vision-101 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/mhamza-007/Food-Vision-101. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/mhamza-007/Food-Vision-101 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use mhamza-007/Food-Vision-101 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://mhamza-007/Food-Vision-101")
This repository contains a fine-tuned EfficientNetB4 model trained on the Food101 dataset. The Food101 dataset comprises 101 different classes of food, making it an excellent benchmark for image classification tasks in the food domain.
sparse_categorical_crossentropy accuracy | Phase | Loss | Accuracy |
|---|---|---|
| Train | 0.4790 | 87.40% |
| Test | 0.6283 | 79.28% |
Base model
google/efficientnet-b4