Exploring the clothing image dataset
The clothing dataset Fashion-MNIST (https://github.com/zalandoresearch/fashion-mnist) is a dataset of images from Zalando (Europe’s biggest online fashion retailer). It consists of 60,000 training samples and 10,000 test samples. Each sample is a 28 * 28 grayscale image, associated with a label from the following 10 classes, each representing articles of clothing:
- 0: T-shirt/top
- 1: Trouser
- 2: Pullover
- 3: Dress
- 4: Coat
- 5: Sandal
- 6: Shirt
- 7: Sneaker
- 8: Bag
- 9: Ankle boot
Zalando aims to make the dataset as popular as the handwritten digits MNIST dataset for benchmarking algorithms and hence calls it Fashion-MNIST.
You can download the dataset from the direct links in the Get the data section using the GitHub link or simply import it from PyTorch, which already includes the dataset and its data loader API. We will take the latter approach, as follows:
>>...