imagenet_resized
Stay organized with collections
Save and categorize content based on your preferences.
This dataset consists of the ImageNet dataset resized to fixed size. The images
here are the ones provided by Chrabaszcz et. al. using the box resize method.
For downsampled ImageNet for unsupervised
learning see downsampled_imagenet
.
Warning: The integer labels used are defined by the authors and do not match
those from the other ImageNet datasets provided by Tensorflow datasets. See the
original
label list ,
and the
labels used by this dataset .
Additionally, the original authors 1 index there labels which we convert to 0
indexed by subtracting one.
Split
Examples
'train'
1,281,167
'validation'
50,000
@ article { chrabaszcz2017downsampled ,
title = { A downsampled variant of imagenet as an alternative to the cifar datasets },
author = { Chrabaszcz , Patryk and Loshchilov , Ilya and Hutter , Frank },
journal = { arXiv preprint arXiv : 1707.08819 },
year = { 2017 }
}
imagenet_resized/8x8 (default config)
FeaturesDict ({
'image' : Image ( shape = ( 8 , 8 , 3 ), dtype = uint8 ),
'label' : ClassLabel ( shape = (), dtype = int64 , num_classes = 1000 ),
})
Feature
Class
Shape
Dtype
Description
FeaturesDict
image
Image
(8, 8, 3)
uint8
label
ClassLabel
int64
imagenet_resized/16x16
FeaturesDict ({
'image' : Image ( shape = ( 16 , 16 , 3 ), dtype = uint8 ),
'label' : ClassLabel ( shape = (), dtype = int64 , num_classes = 1000 ),
})
Feature
Class
Shape
Dtype
Description
FeaturesDict
image
Image
(16, 16, 3)
uint8
label
ClassLabel
int64
imagenet_resized/32x32
FeaturesDict ({
'image' : Image ( shape = ( 32 , 32 , 3 ), dtype = uint8 ),
'label' : ClassLabel ( shape = (), dtype = int64 , num_classes = 1000 ),
})
Feature
Class
Shape
Dtype
Description
FeaturesDict
image
Image
(32, 32, 3)
uint8
label
ClassLabel
int64
imagenet_resized/64x64
FeaturesDict ({
'image' : Image ( shape = ( 64 , 64 , 3 ), dtype = uint8 ),
'label' : ClassLabel ( shape = (), dtype = int64 , num_classes = 1000 ),
})
Feature
Class
Shape
Dtype
Description
FeaturesDict
image
Image
(64, 64, 3)
uint8
label
ClassLabel
int64
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-01 UTC.
[null,null,["Last updated 2024-06-01 UTC."],[],[],null,["# imagenet_resized\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThis dataset consists of the ImageNet dataset resized to fixed size. The images\nhere are the ones provided by Chrabaszcz et. al. using the box resize method.\n\nFor [downsampled ImageNet](http://image-net.org/download.php) for unsupervised\nlearning see `downsampled_imagenet`.\n| **Warning:** The integer labels used are defined by the authors and do not match those from the other ImageNet datasets provided by Tensorflow datasets. See the original [label list](https://github.com/PatrykChrabaszcz/Imagenet32_Scripts/blob/master/map_clsloc.txt), and the [labels used by this dataset](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/image_classification/imagenet_resized_labels.txt). Additionally, the original authors 1 index there labels which we convert to 0 indexed by subtracting one.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/imagenet-32)\n\n- **Homepage** :\n \u003chttps://patrykchrabaszcz.github.io/Imagenet32/\u003e\n\n- **Source code** :\n [`tfds.datasets.imagenet_resized.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/imagenet_resized/imagenet_resized_dataset_builder.py)\n\n- **Versions**:\n\n - **`0.1.0`** (default): Imagenet Resized Datset\n - `0.1.1`: Webisite URL update\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|-----------|\n| `'train'` | 1,281,167 |\n| `'validation'` | 50,000 |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('image', 'label')`\n\n- **Citation**:\n\n @article{chrabaszcz2017downsampled,\n title={A downsampled variant of imagenet as an alternative to the cifar datasets},\n author={Chrabaszcz, Patryk and Loshchilov, Ilya and Hutter, Frank},\n journal={arXiv preprint arXiv:1707.08819},\n year={2017}\n }\n\nimagenet_resized/8x8 (default config)\n-------------------------------------\n\n- **Config description**: Images resized to 8x8\n\n- **Download size** : `237.11 MiB`\n\n- **Dataset size** : `378.49 MiB`\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(8, 8, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|-----------|-------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (8, 8, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nimagenet_resized/16x16\n----------------------\n\n- **Config description**: Images resized to 16x16\n\n- **Download size** : `923.34 MiB`\n\n- **Dataset size** : `955.67 MiB`\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(16, 16, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|-------------|-------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (16, 16, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nimagenet_resized/32x32\n----------------------\n\n- **Config description**: Images resized to 32x32\n\n- **Download size** : `3.46 GiB`\n\n- **Dataset size** : `2.93 GiB`\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(32, 32, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|-------------|-------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (32, 32, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nimagenet_resized/64x64\n----------------------\n\n- **Config description**: Images resized to 64x64\n\n- **Download size** : `13.13 GiB`\n\n- **Dataset size** : `10.29 GiB`\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(64, 64, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|-------------|-------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (64, 64, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]