BootsofLagrangian's picture
Add dataset card and verified CMC ImageNet-100 counts.json
b5c059c verified
|
Raw History Blame Contribute Delete
2.52 kB
metadata
pretty_name: CMC ImageNet-100 (Full-Resolution Native JPEG WebDataset)
task_categories:
  - image-classification
size_categories:
  - 100K<n<1M
tags:
  - imagenet
  - imagenet-100
  - cmc
  - webdataset
  - computer-vision

CMC ImageNet-100 (Lossless Native-JPEG WebDataset)

This dataset packages the standard 100-class Contrastive Multiview Coding (CMC) ImageNet-100 benchmark subset introduced by Tian et al. (ECCV 2020) (HobbitLong/CMC/imagenet100.txt) into contiguous WebDataset .tar shards preserving 100% unmodified native ILSVRC2012 JPEG bytes (zero re-encoding and zero 160px downsampling).

Summary & Integrity

Split Samples Shards Shard Pattern Classes Image Bytes
train 126,689 124 imagenet100-train-{0000..0123}.tar 100 (0..99) Exact native ILSVRC2012 JPEG
validation 5,000 20 imagenet100-validation-{0000..0019}.tar 100 (0..99) Exact native ILSVRC2012 JPEG
  • Class order (0..99): Lexicographically sorted 100 CMC WordNet synsets (n01558993 $\to$ 0, ..., n13040303 $\to$ 99), recorded verbatim in counts.json.
  • Sample format inside each .tar shard: Paired {index:08d}.jpg (native RGB/JPEG bytes) and {index:08d}.cls (ASCII integer 0..99).

Usage (WebDataset / PyTorch)

import webdataset as wds

url = "hf://datasets/BootsofLagrangian/cmc-imagenet-100-wds/imagenet100-train-{0000..0123}.tar"
dataset = wds.WebDataset(url).decode("pil").to_tuple("jpg", "cls")

Provenance, Licensing & Citation

Derived by lossless synset filtering from ILSVRC2012 (timm/imagenet-1k-wds). Usage is subject to the original ImageNet Terms of Access (non-commercial research and educational use).

@inproceedings{tian2020contrastive,
  title={Contrastive Multiview Coding},
  author={Tian, Yonglong and Krishnan, Dilip and Isola, Phillip},
  booktitle={European Conference on Computer Vision (ECCV)},
  pages={776--794},
  year={2020}
}

@article{russakovsky2015imagenet,
  title={ImageNet Large Scale Visual Recognition Challenge},
  author={Russakovsky, Olga and Deng, Jia and Su, Hao and Krause, Jonathan and Satheesh, Sanjeev and Ma, Sean and Huang, Zhiheng and Karpathy, Andrej and Khosla, Aditya and Bernstein, Michael and Berg, Alexander C. and Fei-Fei, Li},
  journal={International Journal of Computer Vision},
  volume={115},
  number={3},
  pages={211--252},
  year={2015}
}