imagenet2012_corrupted

  • Description:

Imagenet2012Corrupted is a dataset generated by adding common corruptions to the images in the ImageNet dataset. In the original paper, there are 15 + 4 different corruptions, and each has 5 levels of severity. We also implement the 4 extra corruptions gaussian blur, saturate, spatter, and speckle noise. The randomness is fixed so that regeneration is deterministic.

  • Homepage: https://openreview.net/forum?id=HJz6tiCqYm
  • Source code: tfds.image.imagenet2012_corrupted.Imagenet2012Corrupted
  • Versions:
    • 3.1.0 (default): No release notes.
  • Download size: 1.98 MiB
  • Dataset size: Unknown size
  • Manual download instructions: This dataset requires you to download the source data manually into download_config.manual_dir (defaults to ~/tensorflow_datasets/manual/imagenet2012_corrupted/):
    manual_dir should contain two files: ILSVRC2012_img_train.tar and ILSVRC2012_img_val.tar. You need to register on http://www.image-net.org/download-images in order to get the link to download the dataset.
  • Auto-cached (documentation): No
  • Splits:
Split Examples
'validation' 50,000
  • Features:
FeaturesDict({
    'file_name': Text(shape=(), dtype=tf.string),
    'image': Image(shape=(224, 224, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=1000),
})
@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},
}

imagenet2012_corrupted/gaussian_noise_1 (default config)

  • Config description: corruption type = gaussian_noise, severity = 1

imagenet2012_corrupted/gaussian_noise_2

  • Config description: corruption type = gaussian_noise, severity = 2

imagenet2012_corrupted/gaussian_noise_3

  • Config description: corruption type = gaussian_noise, severity = 3

imagenet2012_corrupted/gaussian_noise_4

  • Config description: corruption type = gaussian_noise, severity = 4

imagenet2012_corrupted/gaussian_noise_5

  • Config description: corruption type = gaussian_noise, severity = 5

imagenet2012_corrupted/shot_noise_1

  • Config description: corruption type = shot_noise, severity = 1

imagenet2012_corrupted/shot_noise_2

  • Config description: corruption type = shot_noise, severity = 2

imagenet2012_corrupted/shot_noise_3

  • Config description: corruption type = shot_noise, severity = 3

imagenet2012_corrupted/shot_noise_4

  • Config description: corruption type = shot_noise, severity = 4

imagenet2012_corrupted/shot_noise_5

  • Config description: corruption type = shot_noise, severity = 5

imagenet2012_corrupted/impulse_noise_1

  • Config description: corruption type = impulse_noise, severity = 1

imagenet2012_corrupted/impulse_noise_2

  • Config description: corruption type = impulse_noise, severity = 2

imagenet2012_corrupted/impulse_noise_3

  • Config description: corruption type = impulse_noise, severity = 3

imagenet2012_corrupted/impulse_noise_4

  • Config description: corruption type = impulse_noise, severity = 4

imagenet2012_corrupted/impulse_noise_5

  • Config description: corruption type = impulse_noise, severity = 5

imagenet2012_corrupted/defocus_blur_1

  • Config description: corruption type = defocus_blur, severity = 1

imagenet2012_corrupted/defocus_blur_2

  • Config description: corruption type = defocus_blur, severity = 2

imagenet2012_corrupted/defocus_blur_3

  • Config description: corruption type = defocus_blur, severity = 3

imagenet2012_corrupted/defocus_blur_4

  • Config description: corruption type = defocus_blur, severity = 4

imagenet2012_corrupted/defocus_blur_5

  • Config description: corruption type = defocus_blur, severity = 5

imagenet2012_corrupted/glass_blur_1

  • Config description: corruption type = glass_blur, severity = 1

imagenet2012_corrupted/glass_blur_2

  • Config description: corruption type = glass_blur, severity = 2

imagenet2012_corrupted/glass_blur_3

  • Config description: corruption type = glass_blur, severity = 3

imagenet2012_corrupted/glass_blur_4

  • Config description: corruption type = glass_blur, severity = 4

imagenet2012_corrupted/glass_blur_5

  • Config description: corruption type = glass_blur, severity = 5

imagenet2012_corrupted/motion_blur_1

  • Config description: corruption type = motion_blur, severity = 1

imagenet2012_corrupted/motion_blur_2

  • Config description: corruption type = motion_blur, severity = 2

imagenet2012_corrupted/motion_blur_3

  • Config description: corruption type = motion_blur, severity = 3

imagenet2012_corrupted/motion_blur_4

  • Config description: corruption type = motion_blur, severity = 4

imagenet2012_corrupted/motion_blur_5

  • Config description: corruption type = motion_blur, severity = 5

imagenet2012_corrupted/zoom_blur_1

  • Config description: corruption type = zoom_blur, severity = 1

imagenet2012_corrupted/zoom_blur_2

  • Config description: corruption type = zoom_blur, severity = 2

imagenet2012_corrupted/zoom_blur_3

  • Config description: corruption type = zoom_blur, severity = 3

imagenet2012_corrupted/zoom_blur_4

  • Config description: corruption type = zoom_blur, severity = 4

imagenet2012_corrupted/zoom_blur_5

  • Config description: corruption type = zoom_blur, severity = 5

imagenet2012_corrupted/snow_1

  • Config description: corruption type = snow, severity = 1

imagenet2012_corrupted/snow_2

  • Config description: corruption type = snow, severity = 2

imagenet2012_corrupted/snow_3

  • Config description: corruption type = snow, severity = 3

imagenet2012_corrupted/snow_4

  • Config description: corruption type = snow, severity = 4

imagenet2012_corrupted/snow_5

  • Config description: corruption type = snow, severity = 5

imagenet2012_corrupted/frost_1

  • Config description: corruption type = frost, severity = 1

imagenet2012_corrupted/frost_2

  • Config description: corruption type = frost, severity = 2

imagenet2012_corrupted/frost_3

  • Config description: corruption type = frost, severity = 3

imagenet2012_corrupted/frost_4

  • Config description: corruption type = frost, severity = 4

imagenet2012_corrupted/frost_5

  • Config description: corruption type = frost, severity = 5

imagenet2012_corrupted/fog_1

  • Config description: corruption type = fog, severity = 1

imagenet2012_corrupted/fog_2

  • Config description: corruption type = fog, severity = 2

imagenet2012_corrupted/fog_3

  • Config description: corruption type = fog, severity = 3

imagenet2012_corrupted/fog_4

  • Config description: corruption type = fog, severity = 4

imagenet2012_corrupted/fog_5

  • Config description: corruption type = fog, severity = 5

imagenet2012_corrupted/brightness_1

  • Config description: corruption type = brightness, severity = 1

imagenet2012_corrupted/brightness_2

  • Config description: corruption type = brightness, severity = 2

imagenet2012_corrupted/brightness_3

  • Config description: corruption type = brightness, severity = 3

imagenet2012_corrupted/brightness_4

  • Config description: corruption type = brightness, severity = 4

imagenet2012_corrupted/brightness_5

  • Config description: corruption type = brightness, severity = 5

imagenet2012_corrupted/contrast_1

  • Config description: corruption type = contrast, severity = 1

imagenet2012_corrupted/contrast_2

  • Config description: corruption type = contrast, severity = 2

imagenet2012_corrupted/contrast_3

  • Config description: corruption type = contrast, severity = 3

imagenet2012_corrupted/contrast_4

  • Config description: corruption type = contrast, severity = 4

imagenet2012_corrupted/contrast_5

  • Config description: corruption type = contrast, severity = 5

imagenet2012_corrupted/elastic_transform_1

  • Config description: corruption type = elastic_transform, severity = 1

imagenet2012_corrupted/elastic_transform_2

  • Config description: corruption type = elastic_transform, severity = 2

imagenet2012_corrupted/elastic_transform_3

  • Config description: corruption type = elastic_transform, severity = 3

imagenet2012_corrupted/elastic_transform_4

  • Config description: corruption type = elastic_transform, severity = 4

imagenet2012_corrupted/elastic_transform_5

  • Config description: corruption type = elastic_transform, severity = 5

imagenet2012_corrupted/pixelate_1

  • Config description: corruption type = pixelate, severity = 1

imagenet2012_corrupted/pixelate_2

  • Config description: corruption type = pixelate, severity = 2

imagenet2012_corrupted/pixelate_3

  • Config description: corruption type = pixelate, severity = 3

imagenet2012_corrupted/pixelate_4

  • Config description: corruption type = pixelate, severity = 4

imagenet2012_corrupted/pixelate_5

  • Config description: corruption type = pixelate, severity = 5

imagenet2012_corrupted/jpeg_compression_1

  • Config description: corruption type = jpeg_compression, severity = 1

imagenet2012_corrupted/jpeg_compression_2

  • Config description: corruption type = jpeg_compression, severity = 2

imagenet2012_corrupted/jpeg_compression_3

  • Config description: corruption type = jpeg_compression, severity = 3

imagenet2012_corrupted/jpeg_compression_4

  • Config description: corruption type = jpeg_compression, severity = 4

imagenet2012_corrupted/jpeg_compression_5

  • Config description: corruption type = jpeg_compression, severity = 5

imagenet2012_corrupted/gaussian_blur_1

  • Config description: corruption type = gaussian_blur, severity = 1

imagenet2012_corrupted/gaussian_blur_2

  • Config description: corruption type = gaussian_blur, severity = 2

imagenet2012_corrupted/gaussian_blur_3

  • Config description: corruption type = gaussian_blur, severity = 3

imagenet2012_corrupted/gaussian_blur_4

  • Config description: corruption type = gaussian_blur, severity = 4

imagenet2012_corrupted/gaussian_blur_5

  • Config description: corruption type = gaussian_blur, severity = 5

imagenet2012_corrupted/saturate_1

  • Config description: corruption type = saturate, severity = 1

imagenet2012_corrupted/saturate_2

  • Config description: corruption type = saturate, severity = 2

imagenet2012_corrupted/saturate_3

  • Config description: corruption type = saturate, severity = 3

imagenet2012_corrupted/saturate_4

  • Config description: corruption type = saturate, severity = 4

imagenet2012_corrupted/saturate_5

  • Config description: corruption type = saturate, severity = 5

imagenet2012_corrupted/spatter_1

  • Config description: corruption type = spatter, severity = 1

imagenet2012_corrupted/spatter_2

  • Config description: corruption type = spatter, severity = 2

imagenet2012_corrupted/spatter_3

  • Config description: corruption type = spatter, severity = 3

imagenet2012_corrupted/spatter_4

  • Config description: corruption type = spatter, severity = 4

imagenet2012_corrupted/spatter_5

  • Config description: corruption type = spatter, severity = 5

imagenet2012_corrupted/speckle_noise_1

  • Config description: corruption type = speckle_noise, severity = 1

imagenet2012_corrupted/speckle_noise_2

  • Config description: corruption type = speckle_noise, severity = 2

imagenet2012_corrupted/speckle_noise_3

  • Config description: corruption type = speckle_noise, severity = 3

imagenet2012_corrupted/speckle_noise_4

  • Config description: corruption type = speckle_noise, severity = 4

imagenet2012_corrupted/speckle_noise_5

  • Config description: corruption type = speckle_noise, severity = 5