Intro

Fashion MNIST is an MNIST-like dataset of 70,000 28x28 labeled fashion images.

Fashion-MNIST

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. We intend 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.

img

Dataset Details

Each image is a 28 Ă— 28 = 784 pixel grayscale image, with pixel values representing darkness (0 = black, 255 = white). In the tabular representation, the first column contains the class label, and the remaining 784 columns contain the pixel values. The dataset has 60,000 training examples and 10,000 test examples across 10 classes.

LabelDescription
0T-shirt/top
1Trouser
2Pullover
3Dress
4Coat
5Sandal
6Shirt
7Sneaker
8Bag
9Ankle boot

Classify Images of Clothing

Open In Colab

img

Fashion MNIST is intended as a drop-in replacement for the classic MNIST dataset—often used as the “Hello, World” of machine learning programs for Computer Vision. The MNIST dataset contains images of handwritten digits (0, 1, 2, etc.) in a format identical to that of the articles of clothing you’ll use here.

This guide uses Fashion MNIST for variety, and because it’s a slightly more challenging problem than regular MNIST. Both datasets are relatively small and are used to verify that an algorithm works as expected. They’re good starting points to test and debug code.