image
imagewidth (px)
28
28
label
class label
10 classes
9Ankle boot
0T - shirt / top
0T - shirt / top
3Dress
0T - shirt / top
2Pullover
7Sneaker
2Pullover
5Sandal
5Sandal
0T - shirt / top
9Ankle boot
5Sandal
5Sandal
7Sneaker
9Ankle boot
1Trouser
0T - shirt / top
6Shirt
4Coat
3Dress
1Trouser
4Coat
8Bag
4Coat
3Dress
0T - shirt / top
2Pullover
4Coat
4Coat
5Sandal
3Dress
6Shirt
6Shirt
0T - shirt / top
8Bag
5Sandal
2Pullover
1Trouser
6Shirt
6Shirt
7Sneaker
9Ankle boot
5Sandal
9Ankle boot
2Pullover
7Sneaker
3Dress
0T - shirt / top
3Dress
3Dress
3Dress
7Sneaker
2Pullover
2Pullover
6Shirt
6Shirt
8Bag
3Dress
3Dress
5Sandal
0T - shirt / top
5Sandal
5Sandal
0T - shirt / top
2Pullover
0T - shirt / top
0T - shirt / top
4Coat
1Trouser
3Dress
1Trouser
6Shirt
3Dress
1Trouser
4Coat
4Coat
6Shirt
1Trouser
9Ankle boot
1Trouser
3Dress
5Sandal
7Sneaker
9Ankle boot
7Sneaker
1Trouser
7Sneaker
9Ankle boot
9Ankle boot
9Ankle boot
3Dress
2Pullover
9Ankle boot
3Dress
6Shirt
4Coat
1Trouser
1Trouser
8Bag

Fashion-Mnist-C (Corrupted Fashion-Mnist)

A corrupted Fashion-MNIST benchmark for testing out-of-distribution robustness of computer vision models, which were trained on Fashion-Mmnist.

Fashion-Mnist is a drop-in replacement for MNIST and Fashion-Mnist-C is a corresponding drop-in replacement for MNIST-C.

Corruptions

The following corruptions are applied to the images, equivalently to MNIST-C:

  • Noise (shot noise and impulse noise)
  • Blur (glass and motion blur)
  • Transformations (shear, scale, rotate, brightness, contrast, saturate, inverse)

In addition, we apply various image flippings and turnings: For fashion images, flipping the image does not change its label, and still keeps it a valid image. However, we noticed that in the nominal fmnist dataset, most images are identically oriented (e.g. most shoes point to the left side). Thus, flipped images provide valid OOD inputs.

Most corruptions are applied at a randomly selected level of severity, s.t. some corrupted images are really hard to classify whereas for others the corruption, while present, is subtle.

Examples

Turned Blurred Rotated Noise Noise Turned

Citation

If you use this dataset, please cite the following paper:

@inproceedings{Weiss2022SimpleTechniques,
  title={Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning},
  author={Weiss, Michael and Tonella, Paolo},
  booktitle={Proceedings of the 31th ACM SIGSOFT International Symposium on Software Testing and Analysis},
  year={2022}
}

Also, you may want to cite FMNIST and MNIST-C.

Credits

  • Fashion-Mnist-C is inspired by Googles MNIST-C and our repository is essentially a clone of theirs. See their paper and repo.
  • Find the nominal (i.e., non-corrupted) Fashion-MNIST dataset here.
Downloads last month
42
Edit dataset card