Fashion-MNIST is a dataset of Zalando's article images—consisting of a training set of 60,000 examples and a test set of 10,000 examples. Each example is a 28x28 grayscale image, associated with a label from 10 classes. Zalando intends Fashion-MNIST to serve as a direct drop-in replacement for the original MNIST dataset for benchmarking machine learning algorithms. It shares the same image size and structure of training and testing splits.
Examples
Basic Examples
Obtain the FashionMNIST dataset, which contains 60,000 training and 10,000 test images:
Display a few random examples from the training set:
Lookup the full string labels of the samples:
The 10 classes are balanced in both sets:
Visualization
Here's an example how the data looks (each class takes three-rows):
Here's an example how the data looks (each class takes three-rows):
The classes of FashionMNIST are harder separate than the original MNIST. This can be seen in the uniform manifold approximation and projection (UMAP) plots of FashionMNIST (left) and the original digits MNIST (right)
Analysis
LeNet (pretrained on MNIST) performs badly on FashionMNIST
Training LeNet from scratch quickly improves the results
Bibliographic Citation
Michael Sollami,
"FashionMNIST"
from the Wolfram Data Repository
(2018)
The MIT License (MIT) Copyright © [2017] Zalando SE
Data Resource History
Publisher Information