Downloads · 30 days
0
khaledb12s/food-classifier
food-classifier is a machine learning model from khaledb12s. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model classifies food images into 101 different categories 🍕🍰🍜 Trained using PyTorch + ResNet18 on ~100k images from Food-101 dataset.
Downloads · 30 days
0
Access
Public
Updated Jan 26, 2026
Repo size
45 MB
Likes
0
Public
Click a slice to open those files.
.pth45 MB · 100%
From the Hugging Face model README
This model classifies food images into 101 different categories 🍕🍰🍜
Trained using PyTorch + ResNet18 on ~100k images from Food-101 dataset.
from huggingface_hub import hf_hub_download
import torch, torchvision
model_path = hf_hub_download("khaledb12s/food-classifier", "food_model.pth")
# 🍔 Khaled's Food Classifier (ResNet18)
This model classifies food images into **101 different categories** 🍕🍰🍜
Trained using **PyTorch + ResNet18** on ~100k images from Food-101 dataset.
---
## 🧠 Model Information
- **Architecture:** ResNet18
- **Accuracy (Test):** 62.04%
- **Training Data:** 75,750 images
- **Test Data:** 25,250 images
- **Classes:** 101 food categories