- Description:
A large set of images of cats and dogs. There are 1738 corrupted images that are dropped.
Additional Documentation: Explore on Papers With Code
Homepage: https://www.microsoft.com/en-us/download/details.aspx?id=54765
Source code:
tfds.image_classification.CatsVsDogsVersions:
4.0.0: New split API (https://tensorflow.org/datasets/splits)4.0.1(default): Recoding images in generator to fix corrupt JPEG data warnings (https://github.com/tensorflow/datasets/issues/2188)
Download size:
786.67 MiBDataset size:
1.04 GiBAuto-cached (documentation): No
Splits:
| Split | Examples |
|---|---|
'train' |
23,262 |
- Feature structure:
FeaturesDict({
'image': Image(shape=(None, None, 3), dtype=uint8),
'image/filename': Text(shape=(), dtype=string),
'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
})
- Feature documentation:
| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
| FeaturesDict | ||||
| image | Image | (None, None, 3) | uint8 | |
| image/filename | Text | string | ||
| label | ClassLabel | int64 |
Supervised keys (See
as_superviseddoc):('image', 'label')Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
- Citation:
@Inproceedings (Conference){asirra-a-captcha-that-exploits-interest-aligned-manual-image-categorization,
author = {Elson, Jeremy and Douceur, John (JD) and Howell, Jon and Saul, Jared},
title = {Asirra: A CAPTCHA that Exploits Interest-Aligned Manual Image Categorization},
booktitle = {Proceedings of 14th ACM Conference on Computer and Communications Security (CCS)},
year = {2007},
month = {October},
publisher = {Association for Computing Machinery, Inc.},
url = {https://www.microsoft.com/en-us/research/publication/asirra-a-captcha-that-exploits-interest-aligned-manual-image-categorization/},
edition = {Proceedings of 14th ACM Conference on Computer and Communications Security (CCS)},
}