Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
117
3.26k
label
class label
37 classes
image_id
stringlengths
6
30
label_cat_dog
class label
2 classes
issues
listlengths
0
3
26ragdoll
Ragdoll_163
0cat
[]
16havanese
havanese_15
1dog
[ "Quality: Blurry (score: 63.4 < 100.0)" ]
24pomeranian
pomeranian_147
1dog
[]
0abyssinian
Abyssinian_193
0cat
[ "Label Error: Semantic Inconsistency" ]
25pug
pug_110
1dog
[]
3basset_hound
basset_hound_16
1dog
[]
6birman
Birman_122
0cat
[]
31shiba_inu
shiba_inu_150
1dog
[]
9british_shorthair
British_Shorthair_205
0cat
[ "Label Error: Semantic Inconsistency" ]
1american_bulldog
american_bulldog_104
1dog
[]
7bombay
Bombay_19
0cat
[]
23persian
Persian_195
0cat
[]
30scottish_terrier
scottish_terrier_150
1dog
[]
27russian_blue
Russian_Blue_122
0cat
[]
20maine_coon
Maine_Coon_135
0cat
[]
23persian
Persian_138
0cat
[]
24pomeranian
pomeranian_157
1dog
[]
0abyssinian
Abyssinian_113
0cat
[ "Quality: Low contrast (std: 26.6 < 30.0)" ]
36yorkshire_terrier
yorkshire_terrier_120
1dog
[]
4beagle
beagle_194
1dog
[]
22newfoundland
newfoundland_173
1dog
[]
6birman
Birman_172
0cat
[]
16havanese
havanese_14
1dog
[]
34staffordshire_bull_terrier
staffordshire_bull_terrier_114
1dog
[]
18keeshond
keeshond_156
1dog
[]
31shiba_inu
shiba_inu_119
1dog
[]
26ragdoll
Ragdoll_105
0cat
[ "Quality: Blurry (score: 77.2 < 100.0)", "Quality: Low contrast (std: 29.0 < 30.0)" ]
24pomeranian
pomeranian_152
1dog
[]
34staffordshire_bull_terrier
staffordshire_bull_terrier_113
1dog
[]
11egyptian_mau
Egyptian_Mau_142
0cat
[ "Quality: Too dark (mean: 37.3 < 40.0)" ]
2american_pit_bull_terrier
american_pit_bull_terrier_126
1dog
[]
19leonberger
leonberger_143
1dog
[]
11egyptian_mau
Egyptian_Mau_189
0cat
[]
26ragdoll
Ragdoll_138
0cat
[ "Label Error: Semantic Inconsistency" ]
22newfoundland
newfoundland_157
1dog
[]
25pug
pug_146
1dog
[]
28saint_bernard
saint_bernard_105
1dog
[]
14german_shorthaired
german_shorthaired_18
1dog
[]
18keeshond
keeshond_177
1dog
[]
25pug
pug_169
1dog
[ "Quality: Blurry (score: 71.0 < 100.0)" ]
34staffordshire_bull_terrier
staffordshire_bull_terrier_196
1dog
[]
23persian
Persian_182
0cat
[]
11egyptian_mau
Egyptian_Mau_165
0cat
[ "Label Error: Semantic Inconsistency" ]
0abyssinian
Abyssinian_130
0cat
[ "Quality: Low contrast (std: 29.7 < 30.0)" ]
32siamese
Siamese_194
0cat
[]
27russian_blue
Russian_Blue_131
0cat
[]
1american_bulldog
american_bulldog_185
1dog
[]
22newfoundland
newfoundland_129
1dog
[]
23persian
Persian_125
0cat
[]
22newfoundland
newfoundland_127
1dog
[]
11egyptian_mau
Egyptian_Mau_109
0cat
[]
10chihuahua
chihuahua_173
1dog
[]
34staffordshire_bull_terrier
staffordshire_bull_terrier_131
1dog
[]
15great_pyrenees
great_pyrenees_180
1dog
[]
15great_pyrenees
great_pyrenees_16
1dog
[]
15great_pyrenees
great_pyrenees_116
1dog
[]
14german_shorthaired
german_shorthaired_176
1dog
[]
27russian_blue
Russian_Blue_125
0cat
[]
2american_pit_bull_terrier
american_pit_bull_terrier_129
1dog
[]
10chihuahua
chihuahua_120
1dog
[]
24pomeranian
pomeranian_189
1dog
[]
34staffordshire_bull_terrier
staffordshire_bull_terrier_1
1dog
[]
13english_setter
english_setter_174
1dog
[]
12english_cocker_spaniel
english_cocker_spaniel_136
1dog
[]
5bengal
Bengal_162
0cat
[]
4beagle
beagle_175
1dog
[ "Quality: Low contrast (std: 28.2 < 30.0)" ]
36yorkshire_terrier
yorkshire_terrier_101
1dog
[]
33sphynx
Sphynx_126
0cat
[]
20maine_coon
Maine_Coon_143
0cat
[]
20maine_coon
Maine_Coon_151
0cat
[]
24pomeranian
pomeranian_123
1dog
[ "Quality: Blurry (score: 67.1 < 100.0)" ]
27russian_blue
Russian_Blue_119
0cat
[]
20maine_coon
Maine_Coon_141
0cat
[]
4beagle
beagle_189
1dog
[]
26ragdoll
Ragdoll_194
0cat
[]
35wheaten_terrier
wheaten_terrier_161
1dog
[]
21miniature_pinscher
miniature_pinscher_118
1dog
[]
8boxer
boxer_185
1dog
[]
29samoyed
samoyed_168
1dog
[ "Quality: Low contrast (std: 28.9 < 30.0)" ]
16havanese
havanese_166
1dog
[]
20maine_coon
Maine_Coon_10
0cat
[ "Label Error: Semantic Inconsistency" ]
18keeshond
keeshond_153
1dog
[]
19leonberger
leonberger_134
1dog
[]
30scottish_terrier
scottish_terrier_151
1dog
[]
17japanese_chin
japanese_chin_160
1dog
[]
14german_shorthaired
german_shorthaired_156
1dog
[]
7bombay
Bombay_171
0cat
[]
21miniature_pinscher
miniature_pinscher_126
1dog
[]
7bombay
Bombay_104
0cat
[]
24pomeranian
pomeranian_184
1dog
[]
12english_cocker_spaniel
english_cocker_spaniel_180
1dog
[]
18keeshond
keeshond_17
1dog
[]
23persian
Persian_181
0cat
[]
4beagle
beagle_187
1dog
[]
30scottish_terrier
scottish_terrier_149
1dog
[]
6birman
Birman_156
0cat
[]
14german_shorthaired
german_shorthaired_159
1dog
[]
7bombay
Bombay_173
0cat
[]
35wheaten_terrier
wheaten_terrier_153
1dog
[]
9british_shorthair
British_Shorthair_137
0cat
[]
End of preview. Expand in Data Studio

Oxford-IIIT-Pet Cleaned

This dataset is a cleaned and enriched version of the timm/oxford-iiit-pet dataset.
Ideally suited for fine-grained image classification tasks, this version addresses common dataset quality issues such as duplicates, corrupt files, and leakage between train/test splits, while preserving the original data structure where appropriate. Additionally, the train set has been further split into train_clean and validation_clean datasets using an 80/20 split ratio stratified across pet breeds.

Dataset Description

The original Oxford-IIIT Pet Dataset is a 37-category pet dataset with roughly 200 images for each class. The images have large variations in scale, pose, and lighting.

This Cleaned Version offers:

  • Deduplication: Removal of exact and near-duplicates within splits.
  • Leakage Prevention: Removal of training samples that are near-duplicates of testing samples.
  • Quality Annotation: A new issues column that flags potential problems (blur, low contrast, label consistency, etc.) without removing the data, allowing users to filter based on their own criteria.
  • Health Checks: Removal of corrupt or unreadable images.

Supported Tasks

  • Fine-Grained Image Classification: Distinguishing between 37 breeds of cats and dogs.
  • Data Quality Research: analyzing the impact of dataset cleaning on model performance.

Dataset Structure

The dataset contains four splits:

Split Description
train_clean 80% of the training set with all critical issues removed (Corrupt, Internal Duplicates, Cross-Split Leakage). Label errors and quality issues are kept but annotated in the issues column.
validation_clean 20% of the training set with all critical issues removed (Corrupt, Internal Duplicates, Cross-Split Leakage). Label errors and quality issues are kept but annotated in the issues column.
test_clean The test set with internal duplicates and corrupt files removed. Cross-split duplicates are handled by removing the corresponding image from train_clean to preserve value of the standard test benchmark.
test_original The original test set, unaltered in terms of rows, but enriched with the issues column for analysis. Allows for comparison against other models finetuned on this task.

Data Fields

  • image: A PIL.Image.Image object containing the image.
  • label: An int classification label (0-36).
  • image_id: A unique identifier for the image.
  • label_cat_dog: An int classification label (0 or 1), either cat or dog.
  • issues: A list of strings detailing issues found in the image.

The issues Column

The issues column is generated by an automated cleaning pipeline and may contain the following tags:

  • Corrupt file: The image file could not be decoded (these are removed from clean splits).
  • Health: <issue>: Structural issues like extreme aspect ratios or very small dimensions.
  • Quality: <issue>: Visual quality issues such as Blurry, Low Contrast, Dark, or Bright.
  • Label Error: Semantic Inconsistency: The image embedding is significantly different from others in its class (potential mislabel or outlier).
  • Internal Duplicate of <id>: The image is a duplicate of another image in the same split.
  • Leakage (Duplicate of Test <id>): The image is a duplicate of an image in the test split.

Citation

If you use this dataset, please cite the original authors:

@InProceedings{parkhi12a,
  author       = "Omkar M. Parkhi and Andrea Vedaldi and Andrew Zisserman and C. V. Jawahar",
  title        = "Cats and Dogs",
  booktitle    = "IEEE Conference on Computer Vision and Pattern Recognition",
  year         = "2012",
}

Credits

License & Disclaimer

This dataset is distributed under the same license as the original Oxford-IIIT Pet Dataset (CC-BY-SA 4.0). We provide no warranty on the dataset, and the user takes full responsibility for usage.

Downloads last month
60