Datasets:
image
image
| label
class label
10 classes
|
---|---|
9
(Ankle boot) |
|
0
(T - shirt / top) |
|
0
(T - shirt / top) |
|
3
(Dress) |
|
0
(T - shirt / top) |
|
2
(Pullover) |
|
7
(Sneaker) |
|
2
(Pullover) |
|
5
(Sandal) |
|
5
(Sandal) |
|
0
(T - shirt / top) |
|
9
(Ankle boot) |
|
5
(Sandal) |
|
5
(Sandal) |
|
7
(Sneaker) |
|
9
(Ankle boot) |
|
1
(Trouser) |
|
0
(T - shirt / top) |
|
6
(Shirt) |
|
4
(Coat) |
|
3
(Dress) |
|
1
(Trouser) |
|
4
(Coat) |
|
8
(Bag) |
|
4
(Coat) |
|
3
(Dress) |
|
0
(T - shirt / top) |
|
2
(Pullover) |
|
4
(Coat) |
|
4
(Coat) |
|
5
(Sandal) |
|
3
(Dress) |
|
6
(Shirt) |
|
6
(Shirt) |
|
0
(T - shirt / top) |
|
8
(Bag) |
|
5
(Sandal) |
|
2
(Pullover) |
|
1
(Trouser) |
|
6
(Shirt) |
|
6
(Shirt) |
|
7
(Sneaker) |
|
9
(Ankle boot) |
|
5
(Sandal) |
|
9
(Ankle boot) |
|
2
(Pullover) |
|
7
(Sneaker) |
|
3
(Dress) |
|
0
(T - shirt / top) |
|
3
(Dress) |
|
3
(Dress) |
|
3
(Dress) |
|
7
(Sneaker) |
|
2
(Pullover) |
|
2
(Pullover) |
|
6
(Shirt) |
|
6
(Shirt) |
|
8
(Bag) |
|
3
(Dress) |
|
3
(Dress) |
|
5
(Sandal) |
|
0
(T - shirt / top) |
|
5
(Sandal) |
|
5
(Sandal) |
|
0
(T - shirt / top) |
|
2
(Pullover) |
|
0
(T - shirt / top) |
|
0
(T - shirt / top) |
|
4
(Coat) |
|
1
(Trouser) |
|
3
(Dress) |
|
1
(Trouser) |
|
6
(Shirt) |
|
3
(Dress) |
|
1
(Trouser) |
|
4
(Coat) |
|
4
(Coat) |
|
6
(Shirt) |
|
1
(Trouser) |
|
9
(Ankle boot) |
|
1
(Trouser) |
|
3
(Dress) |
|
5
(Sandal) |
|
7
(Sneaker) |
|
9
(Ankle boot) |
|
7
(Sneaker) |
|
1
(Trouser) |
|
7
(Sneaker) |
|
9
(Ankle boot) |
|
9
(Ankle boot) |
|
9
(Ankle boot) |
|
3
(Dress) |
|
2
(Pullover) |
|
9
(Ankle boot) |
|
3
(Dress) |
|
6
(Shirt) |
|
4
(Coat) |
|
1
(Trouser) |
|
1
(Trouser) |
|
8
(Bag) |
Dataset Card for FashionMNIST
Dataset Summary
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.
Supported Tasks and Leaderboards
image-classification
: The goal of this task is to classify a given image of Zalando's article into one of 10 classes. The leaderboard is available here.
Languages
[More Information Needed]
Dataset Structure
Data Instances
A data point comprises an image and its label.
{
'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=28x28 at 0x27601169DD8>,
'label': 9
}
Data Fields
image
: APIL.Image.Image
object containing the 28x28 image. Note that when accessing the image column:dataset[0]["image"]
the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the"image"
column, i.e.dataset[0]["image"]
should always be preferred overdataset["image"][0]
.label
: an integer between 0 and 9 representing the classes with the following mapping:Label Description 0 T-shirt/top 1 Trouser 2 Pullover 3 Dress 4 Coat 5 Sandal 6 Shirt 7 Sneaker 8 Bag 9 Ankle boot
Data Splits
The data is split into training and test set. The training set contains 60,000 images and the test set 10,000 images.
Dataset Creation
Curation Rationale
From the arXiv paper: The original MNIST dataset contains a lot of handwritten digits. Members of the AI/ML/Data Science community love this dataset and use it as a benchmark to validate their algorithms. In fact, MNIST is often the first dataset researchers try. "If it doesn't work on MNIST, it won't work at all", they said. "Well, if it does work on MNIST, it may still fail on others."
Here are some good reasons:
- MNIST is too easy. Convolutional nets can achieve 99.7% on MNIST. Classic machine learning algorithms can also achieve 97% easily. Check out our side-by-side benchmark for Fashion-MNIST vs. MNIST, and read "Most pairs of MNIST digits can be distinguished pretty well by just one pixel."
- MNIST is overused. In this April 2017 Twitter thread, Google Brain research scientist and deep learning expert Ian Goodfellow calls for people to move away from MNIST.
- MNIST can not represent modern CV tasks, as noted in this April 2017 Twitter thread, deep learning expert/Keras author François Chollet.
Source Data
Initial Data Collection and Normalization
From the arXiv paper: Fashion-MNIST is based on the assortment on Zalando’s website. Every fashion product on Zalando has a set of pictures shot by professional photographers, demonstrating different aspects of the product, i.e. front and back looks, details, looks with model and in an outfit. The original picture has a light-gray background (hexadecimal color: #fdfdfd) and stored in 762 × 1000 JPEG format. For efficiently serving different frontend components, the original picture is resampled with multiple resolutions, e.g. large, medium, small, thumbnail and tiny.
We use the front look thumbnail images of 70,000 unique products to build Fashion-MNIST. Those products come from different gender groups: men, women, kids and neutral. In particular, whitecolor products are not included in the dataset as they have low contrast to the background. The thumbnails (51 × 73) are then fed into the following conversion pipeline:
- Converting the input to a PNG image.
- Trimming any edges that are close to the color of the corner pixels. The “closeness” is defined by the distance within 5% of the maximum possible intensity in RGB space.
- Resizing the longest edge of the image to 28 by subsampling the pixels, i.e. some rows and columns are skipped over.
- Sharpening pixels using a Gaussian operator of the radius and standard deviation of 1.0, with increasing effect near outlines.
- Extending the shortest edge to 28 and put the image to the center of the canvas.
- Negating the intensities of the image.
- Converting the image to 8-bit grayscale pixels.
Who are the source language producers?
From the arXiv paper: Every fashion product on Zalando has a set of pictures shot by professional photographers, demonstrating different aspects of the product, i.e. front and back looks, details, looks with model and in an outfit.
Annotations
Annotation process
From the arXiv paper: For the class labels, they use the silhouette code of the product. The silhouette code is manually labeled by the in-house fashion experts and reviewed by a separate team at Zalando. Each product Zalando is the Europe’s largest online fashion platform. Each product contains only one silhouette code.
Who are the annotators?
From the arXiv paper: The silhouette code is manually labeled by the in-house fashion experts and reviewed by a separate team at Zalando.
Personal and Sensitive Information
[More Information Needed]
Considerations for Using the Data
Social Impact of Dataset
[More Information Needed]
Discussion of Biases
[More Information Needed]
Other Known Limitations
[More Information Needed]
Additional Information
Dataset Curators
Han Xiao and Kashif Rasul and Roland Vollgraf
Licensing Information
MIT Licence
Citation Information
@article{DBLP:journals/corr/abs-1708-07747,
author = {Han Xiao and
Kashif Rasul and
Roland Vollgraf},
title = {Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning
Algorithms},
journal = {CoRR},
volume = {abs/1708.07747},
year = {2017},
url = {http://arxiv.org/abs/1708.07747},
archivePrefix = {arXiv},
eprint = {1708.07747},
timestamp = {Mon, 13 Aug 2018 16:47:27 +0200},
biburl = {https://dblp.org/rec/bib/journals/corr/abs-1708-07747},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Contributions
Thanks to @gchhablani for adding this dataset.
- Downloads last month
- 17,189