ddecosmo/finetuned_model
67M
•
Updated
•
5
image
image | label
int32 |
|---|---|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
0
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
Purpose: This dataset was created for binary classification of food images into Asian or Western cuisine categories, developed as part of CMU 24-679 coursework to explore computer vision techniques in food recognition.
Quick Stats:
Contact: maryzhang@cmu.edu
Sample grid showing 4 Asian cuisine images (top row) and 4 Western cuisine images (bottom row) from the original dataset
image: PIL Image object (224x224 RGB)label: Integer (0=Western, 1=Asian)| Cuisine Type | Original | Augmented | Label |
|---|---|---|---|
| Western | 20 | 160 | 0 |
| Asian | 20 | 160 | 1 |
Images were collected between January-February 2025 using:
Each original image generated 7 augmented variants using:
from datasets import load_dataset
from torchvision import transforms
# Load dataset
dataset = load_dataset("maryzhang/hw1-24679-image-dataset")
# Setup transforms
transform = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
])
# Access data
sample = dataset['original'][0]
image, label = sample['image'], sample['label']
cuisine = "Asian" if label == 1 else "Western"
print(f"Sample cuisine type: {cuisine}")
@dataset{zhang2025food,
author = {Mary Zhang},
title = {Asian vs Western Food Classification Dataset},
year = {2025},
publisher = {Hugging Face},
note = {CMU 24-679 Homework 1},
url = {https://huggingface.co/datasets/maryzhang/hw1-24679-image-dataset}
}
This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
Dataset created by Mary Zhang for CMU 24-679. For questions or issues, please use the discussion forum on Hugging Face.