- Description:
Cifar10Corrupted is a dataset generated by adding 15 common corruptions + 4 extra corruptions to the test images in the Cifar10 dataset. This dataset wraps the corrupted Cifar10 test images uploaded by the original authors.
Additional Documentation: Explore on Papers With Code
Homepage: https://github.com/hendrycks/robustness
Source code:
tfds.image_classification.Cifar10Corrupted
Versions:
1.0.0
(default): New split API (https://tensorflow.org/datasets/splits)
Download size:
2.72 GiB
Auto-cached (documentation): Yes
Splits:
Split | Examples |
---|---|
'test' |
10,000 |
- Feature structure:
FeaturesDict({
'image': Image(shape=(32, 32, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=10),
})
- Feature documentation:
Feature | Class | Shape | Dtype | Description |
---|---|---|---|---|
FeaturesDict | ||||
image | Image | (32, 32, 3) | uint8 | |
label | ClassLabel | int64 |
Supervised keys (See
as_supervised
doc):('image', 'label')
Citation:
@inproceedings{
hendrycks2018benchmarking,
title={Benchmarking Neural Network Robustness to Common Corruptions and Perturbations},
author={Dan Hendrycks and Thomas Dietterich},
booktitle={International Conference on Learning Representations},
year={2019},
url={https://openreview.net/forum?id=HJz6tiCqYm},
}
cifar10_corrupted/brightness_1 (default config)
Config description: Corruption method: brightness, severity level: 1
Dataset size:
21.89 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/brightness_2
Config description: Corruption method: brightness, severity level: 2
Dataset size:
21.90 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/brightness_3
Config description: Corruption method: brightness, severity level: 3
Dataset size:
21.85 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/brightness_4
Config description: Corruption method: brightness, severity level: 4
Dataset size:
21.75 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/brightness_5
Config description: Corruption method: brightness, severity level: 5
Dataset size:
21.37 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/contrast_1
Config description: Corruption method: contrast, severity level: 1
Dataset size:
20.41 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/contrast_2
Config description: Corruption method: contrast, severity level: 2
Dataset size:
18.29 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/contrast_3
Config description: Corruption method: contrast, severity level: 3
Dataset size:
17.18 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/contrast_4
Config description: Corruption method: contrast, severity level: 4
Dataset size:
15.75 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/contrast_5
Config description: Corruption method: contrast, severity level: 5
Dataset size:
12.56 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/defocus_blur_1
Config description: Corruption method: defocus_blur, severity level: 1
Dataset size:
21.29 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/defocus_blur_2
Config description: Corruption method: defocus_blur, severity level: 2
Dataset size:
20.45 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/defocus_blur_3
Config description: Corruption method: defocus_blur, severity level: 3
Dataset size:
19.71 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/defocus_blur_4
Config description: Corruption method: defocus_blur, severity level: 4
Dataset size:
19.19 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/defocus_blur_5
Config description: Corruption method: defocus_blur, severity level: 5
Dataset size:
18.19 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/elastic_1
Config description: Corruption method: elastic, severity level: 1
Dataset size:
20.89 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/elastic_2
Config description: Corruption method: elastic, severity level: 2
Dataset size:
20.35 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/elastic_3
Config description: Corruption method: elastic, severity level: 3
Dataset size:
20.01 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/elastic_4
Config description: Corruption method: elastic, severity level: 4
Dataset size:
20.33 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/elastic_5
Config description: Corruption method: elastic, severity level: 5
Dataset size:
20.97 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/fog_1
Config description: Corruption method: fog, severity level: 1
Dataset size:
21.12 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/fog_2
Config description: Corruption method: fog, severity level: 2
Dataset size:
20.16 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/fog_3
Config description: Corruption method: fog, severity level: 3
Dataset size:
19.61 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/fog_4
Config description: Corruption method: fog, severity level: 4
Dataset size:
19.35 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/fog_5
Config description: Corruption method: fog, severity level: 5
Dataset size:
19.21 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frost_1
Config description: Corruption method: frost, severity level: 1
Dataset size:
22.46 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frost_2
Config description: Corruption method: frost, severity level: 2
Dataset size:
22.44 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frost_3
Config description: Corruption method: frost, severity level: 3
Dataset size:
22.82 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frost_4
Config description: Corruption method: frost, severity level: 4
Dataset size:
23.02 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frost_5
Config description: Corruption method: frost, severity level: 5
Dataset size:
23.39 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frosted_glass_blur_1
Config description: Corruption method: frosted_glass_blur, severity level: 1
Dataset size:
23.40 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frosted_glass_blur_2
Config description: Corruption method: frosted_glass_blur, severity level: 2
Dataset size:
23.12 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frosted_glass_blur_3
Config description: Corruption method: frosted_glass_blur, severity level: 3
Dataset size:
22.56 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frosted_glass_blur_4
Config description: Corruption method: frosted_glass_blur, severity level: 4
Dataset size:
23.11 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/frosted_glass_blur_5
Config description: Corruption method: frosted_glass_blur, severity level: 5
Dataset size:
22.84 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_blur_1
Config description: Corruption method: gaussian_blur, severity level: 1
Dataset size:
21.30 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_blur_2
Config description: Corruption method: gaussian_blur, severity level: 2
Dataset size:
19.73 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_blur_3
Config description: Corruption method: gaussian_blur, severity level: 3
Dataset size:
19.13 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_blur_4
Config description: Corruption method: gaussian_blur, severity level: 4
Dataset size:
18.63 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_blur_5
Config description: Corruption method: gaussian_blur, severity level: 5
Dataset size:
17.75 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_noise_1
Config description: Corruption method: gaussian_noise, severity level: 1
Dataset size:
25.38 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_noise_2
Config description: Corruption method: gaussian_noise, severity level: 2
Dataset size:
26.54 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_noise_3
Config description: Corruption method: gaussian_noise, severity level: 3
Dataset size:
27.54 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_noise_4
Config description: Corruption method: gaussian_noise, severity level: 4
Dataset size:
27.96 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/gaussian_noise_5
Config description: Corruption method: gaussian_noise, severity level: 5
Dataset size:
28.34 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/impulse_noise_1
Config description: Corruption method: impulse_noise, severity level: 1
Dataset size:
22.63 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/impulse_noise_2
Config description: Corruption method: impulse_noise, severity level: 2
Dataset size:
23.18 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/impulse_noise_3
Config description: Corruption method: impulse_noise, severity level: 3
Dataset size:
23.64 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/impulse_noise_4
Config description: Corruption method: impulse_noise, severity level: 4
Dataset size:
24.39 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/impulse_noise_5
Config description: Corruption method: impulse_noise, severity level: 5
Dataset size:
24.98 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/jpeg_compression_1
Config description: Corruption method: jpeg_compression, severity level: 1
Dataset size:
22.39 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/jpeg_compression_2
Config description: Corruption method: jpeg_compression, severity level: 2
Dataset size:
22.06 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/jpeg_compression_3
Config description: Corruption method: jpeg_compression, severity level: 3
Dataset size:
21.92 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/jpeg_compression_4
Config description: Corruption method: jpeg_compression, severity level: 4
Dataset size:
21.73 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/jpeg_compression_5
Config description: Corruption method: jpeg_compression, severity level: 5
Dataset size:
21.42 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/motion_blur_1
Config description: Corruption method: motion_blur, severity level: 1
Dataset size:
20.55 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/motion_blur_2
Config description: Corruption method: motion_blur, severity level: 2
Dataset size:
19.90 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/motion_blur_3
Config description: Corruption method: motion_blur, severity level: 3
Dataset size:
19.39 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/motion_blur_4
Config description: Corruption method: motion_blur, severity level: 4
Dataset size:
19.39 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/motion_blur_5
Config description: Corruption method: motion_blur, severity level: 5
Dataset size:
18.96 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/pixelate_1
Config description: Corruption method: pixelate, severity level: 1
Dataset size:
20.44 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/pixelate_2
Config description: Corruption method: pixelate, severity level: 2
Dataset size:
18.92 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/pixelate_3
Config description: Corruption method: pixelate, severity level: 3
Dataset size:
18.14 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/pixelate_4
Config description: Corruption method: pixelate, severity level: 4
Dataset size:
15.69 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/pixelate_5
Config description: Corruption method: pixelate, severity level: 5
Dataset size:
12.41 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/saturate_1
Config description: Corruption method: saturate, severity level: 1
Dataset size:
21.58 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/saturate_2
Config description: Corruption method: saturate, severity level: 2
Dataset size:
21.03 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/saturate_3
Config description: Corruption method: saturate, severity level: 3
Dataset size:
22.01 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/saturate_4
Config description: Corruption method: saturate, severity level: 4
Dataset size:
21.88 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/saturate_5
Config description: Corruption method: saturate, severity level: 5
Dataset size:
21.59 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/shot_noise_1
Config description: Corruption method: shot_noise, severity level: 1
Dataset size:
24.64 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/shot_noise_2
Config description: Corruption method: shot_noise, severity level: 2
Dataset size:
25.50 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/shot_noise_3
Config description: Corruption method: shot_noise, severity level: 3
Dataset size:
26.66 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/shot_noise_4
Config description: Corruption method: shot_noise, severity level: 4
Dataset size:
26.85 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/shot_noise_5
Config description: Corruption method: shot_noise, severity level: 5
Dataset size:
26.11 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/snow_1
Config description: Corruption method: snow, severity level: 1
Dataset size:
22.65 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/snow_2
Config description: Corruption method: snow, severity level: 2
Dataset size:
23.55 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/snow_3
Config description: Corruption method: snow, severity level: 3
Dataset size:
23.28 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/snow_4
Config description: Corruption method: snow, severity level: 4
Dataset size:
22.91 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/snow_5
Config description: Corruption method: snow, severity level: 5
Dataset size:
22.40 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/spatter_1
Config description: Corruption method: spatter, severity level: 1
Dataset size:
22.59 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/spatter_2
Config description: Corruption method: spatter, severity level: 2
Dataset size:
23.31 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/spatter_3
Config description: Corruption method: spatter, severity level: 3
Dataset size:
23.97 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/spatter_4
Config description: Corruption method: spatter, severity level: 4
Dataset size:
22.80 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/spatter_5
Config description: Corruption method: spatter, severity level: 5
Dataset size:
23.44 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/speckle_noise_1
Config description: Corruption method: speckle_noise, severity level: 1
Dataset size:
24.59 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/speckle_noise_2
Config description: Corruption method: speckle_noise, severity level: 2
Dataset size:
25.85 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/speckle_noise_3
Config description: Corruption method: speckle_noise, severity level: 3
Dataset size:
26.38 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/speckle_noise_4
Config description: Corruption method: speckle_noise, severity level: 4
Dataset size:
27.28 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/speckle_noise_5
Config description: Corruption method: speckle_noise, severity level: 5
Dataset size:
28.01 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/zoom_blur_1
Config description: Corruption method: zoom_blur, severity level: 1
Dataset size:
20.14 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/zoom_blur_2
Config description: Corruption method: zoom_blur, severity level: 2
Dataset size:
19.76 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/zoom_blur_3
Config description: Corruption method: zoom_blur, severity level: 3
Dataset size:
19.45 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/zoom_blur_4
Config description: Corruption method: zoom_blur, severity level: 4
Dataset size:
19.20 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):
cifar10_corrupted/zoom_blur_5
Config description: Corruption method: zoom_blur, severity level: 5
Dataset size:
18.86 MiB
Figure (tfds.show_examples):
- Examples (tfds.as_dataframe):