Fashion-MNIST

Provider
Zalando Research (Han Xiao, Kashif Rasul, Roland Vollgraf)
License
MIT (source)
Size
4 files
Format
Parquet (in sampled files)
Stored at
Hugging Face (https://huggingface.co/datasets/zalando-datasets/fashion_mnist)
Access
Free and public. No account with the data provider is needed.
Category
Machine Learning & AI
Source
https://arxiv.org/abs/1708.07747

About Fashion-MNIST

Fashion-MNIST is Zalando Research's benchmark of article images from the Zalando catalogue, released in 2017 as a direct drop-in replacement for the original MNIST handwritten digit dataset. It has a training set of 60,000 examples and a test set of 10,000 examples; each example is a 28x28 grayscale image associated with one of 10 clothing classes (T-shirt/top, Trouser, Pullover, Dress, Coat, Sandal, Shirt, Sneaker, Bag, Ankle boot). Because it shares MNIST's image size, split sizes and file structure, any pipeline written for MNIST runs on it unchanged, while being harder to solve, which is why it is a standard sanity-check and teaching set for image classification, convolutional networks, representation learning, active learning and dataset-shift experiments. Measured 2026-11-14: this Hugging Face copy holds the dataset as two Parquet files under fashion_mnist/ (train about 30.9 MB, test about 5.2 MB) with an image column and an integer label column; load with the datasets library (load_dataset('zalando-datasets/fashion_mnist')), pandas or pyarrow. The data and code are released by Zalando SE under the MIT License; cite Xiao, Rasul and Vollgraf, arXiv:1708.07747.

How to load Fashion-MNIST in Python

from datasets import load_dataset
ds = load_dataset("zalando-datasets/fashion_mnist")
print(ds)

Data structure

File types in sampled files: Parquet

Files

Example file: fashion_mnist/test-00000-of-00001.parquet

Analyze this dataset without downloading it

On Scigantic, Fashion-MNIST opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Machine Learning & AI datasets