Task Categories: image-classification
Languages: en
Multilinguality: monolingual
Size Categories: 10K<n<100K
Licenses: unknown
Language Creators: crowdsourced
Annotations Creators: crowdsourced
Source Datasets: original
Dataset Preview Go to dataset viewer
The dataset preview is not available for this split.
Server error
Status code:   400
Exception:     FileNotFoundError

Need help to make the dataset viewer work? Open an issue for direct support.

Dataset Card for Cats Vs. Dogs

Dataset Summary

A large set of images of cats and dogs. There are 1738 corrupted images that are dropped.

Supported Tasks and Leaderboards

  • image-classification: The goal of this task is to classify a given image as either containing a cat or a dog. The leaderboard is available here.



Dataset Structure

Data Instances

A sample from the training set is provided below:

  'image_file_path': '/root/.cache/huggingface/datasets/downloads/extracted/6e1e8c9052e9f3f7ecbcb4b90860668f81c1d36d86cc9606d49066f8da8bfb4f/PetImages/Cat/1.jpg',
  'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=500x375 at 0x29CEAD71780>,
  'label': 0

Data Fields

The data instances have the following fields:

  • image_file_path: a string filepath to an image.
  • image: A PIL.Image.Image object containing the image. Note that when accessing the image column: dataset[0]["image"] the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].
  • labels: an int classification label.

Class Label Mappings:

  "cat": 0,
  "dog": 1,

Data Splits

# of examples 23422

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]


Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

[More Information Needed]

Licensing Information

[More Information Needed]

Citation Information

@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 = {},
edition = {Proceedings of 14th ACM Conference on Computer and Communications Security (CCS)},


Thanks to @nateraw for adding this dataset.

Update on GitHub

Models trained or fine-tuned on cats_vs_dogs