# ImageNet (ILSVRC) (2009)

> 1.28 million photos across 1,000 classes, the dataset behind the deep learning boom.

Page: https://mralbu.github.io/ai-datasets/d/imagenet

## Key facts

- Category: Vision
- Task: Image classification (1,000 classes)
- Creators: Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, Li Fei-Fei
- Size: ~1.43M images in the ILSVRC-2012 subset (14M in full ImageNet)
- Splits: train 1,281,167, validation 50,000, test 100,000
- Input: Variable-size RGB photo (models usually see a 224×224 crop)
- Labels: 1,000 WordNet synsets, from "tench" to "toilet tissue"
- License: Non-commercial research and education (ImageNet terms of access)
- Paper: [ImageNet: A Large-Scale Hierarchical Image Database](https://www.image-net.org/static_files/papers/imagenet_cvpr09.pdf)
- Homepage: https://www.image-net.org/
- Hugging Face: [ILSVRC/imagenet-1k](https://huggingface.co/datasets/ILSVRC/imagenet-1k)
- Samples on the site come from: [evanarlian/imagenet_1k_resized_256](https://huggingface.co/datasets/evanarlian/imagenet_1k_resized_256)
- Sampled at Hub revision 8de107e08d1f61884d5a4ec2dea8740667264a60 (2026-11-07)

## Why it matters

In 2012 AlexNet, a GPU-trained convolutional network, cut the ImageNet challenge's top-5 error from 26% to 15%, and the field switched to deep learning almost overnight. ImageNet then served as the scoreboard for VGG, ResNet and ViT, and "pretrained on ImageNet" became the default starting point for computer vision.

## Worth knowing

- Labels were crowdsourced on Amazon Mechanical Turk, against the WordNet noun hierarchy.
- About 120 of the 1,000 classes are dog breeds, so a good model must be a dog expert.
- Andrej Karpathy measured his own top-5 error at about 5.1%. ResNet (2015) reached 3.6%.
- A 2021 study estimated roughly 6% of validation labels are wrong; many images contain several classes but have one label.
- These samples come from a mirror resized to 256 px on the short side, not the gated original.

## Get the data

Gated: log in and accept the terms on https://huggingface.co/datasets/ILSVRC/imagenet-1k first.

The samples on this page come from a resized mirror; the snippets point at the official copy (~150 GB).

```bash
# pip install -U huggingface_hub
hf auth login   # gated: accept the terms on the dataset page first
hf download ILSVRC/imagenet-1k --repo-type dataset \
  --local-dir imagenet
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("ILSVRC/imagenet-1k")
print(ds)
```

## Related datasets

- [ImageNet-21k](https://huggingface.co/datasets/timm/imagenet-22k-wds): the full 21k-class hierarchy
- [ImageNetV2](https://huggingface.co/datasets/vaishaal/ImageNetV2): 2019, new test set, accuracy drops ~11–14 points
- [Imagenette](https://github.com/fastai/imagenette): 2019, 10 easy classes for quick experiments
- [PASCAL VOC](https://huggingface.co/datasets/TNILab/pascal_voc2012_det_train_val): 2005–2012, the 20-class challenge before ImageNet's (on this site: https://mralbu.github.io/ai-datasets/d/pascal-voc)

## Landmark papers

- [ImageNet Classification with Deep Convolutional Neural Networks (AlexNet)](https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks) (2012)
- [Very Deep Convolutional Networks (VGG)](https://arxiv.org/abs/1409.1556) (2014)
- [Deep Residual Learning for Image Recognition (ResNet)](https://arxiv.org/abs/1512.03385) (2015)
- [An Image is Worth 16x16 Words (ViT)](https://arxiv.org/abs/2010.11929) (2020)

## Papers on this site that use it

- [AdaGrad (2010)](https://mralbu.github.io/ai-datasets/p/adagrad.md): Gives every weight its own learning rate, shrinking with the gradients it has already seen, so rare but informative features still learn quickly.
- [AlexNet (2012)](https://mralbu.github.io/ai-datasets/p/alexnet.md): A convolutional network trained on two GPUs won ImageNet 2012 by a wide margin and started the deep learning era.
- [R-CNN (2013)](https://mralbu.github.io/ai-datasets/p/rcnn.md): Showed that features from an ImageNet-trained network beat hand-made features for finding objects, not just naming them.
- [Dropout (2014)](https://mralbu.github.io/ai-datasets/p/dropout.md): Switch off random neurons during training, and a network stops memorizing its training data.
- [VGG (2014)](https://mralbu.github.io/ai-datasets/p/vgg.md): Only 3×3 convolutions, stacked 16 to 19 layers deep, and the depth alone made the network better.
- [Batch normalization (2015)](https://mralbu.github.io/ai-datasets/p/batch-norm.md): Normalize each layer's inputs over the mini-batch, and deep networks train many times faster.
- [DCGAN (2015)](https://mralbu.github.io/ai-datasets/p/dcgan.md): A short list of architecture rules that made convolutional GANs train reliably, and showed what their latent space had learned.
- [ResNet (2015)](https://mralbu.github.io/ai-datasets/p/resnet.md): Skip connections that let networks grow from about 20 layers to more than 150.
- [AdamW (2017)](https://mralbu.github.io/ai-datasets/p/adamw.md): Shows that L2 regularization and weight decay differ in Adam, and that decaying weights directly makes Adam generalize nearly as well as SGD.
- [Large-minibatch SGD (2017)](https://mralbu.github.io/ai-datasets/p/large-minibatch-sgd.md): Two simple rules, scale the learning rate with the batch and warm it up gradually, let 256 GPUs train ResNet-50 in an hour without losing accuracy.
- [HRNet (2019)](https://mralbu.github.io/ai-datasets/p/hrnet.md): Kept a high-resolution stream alive all the way through the network instead of downsampling and trying to rebuild detail later.
- [MoCo (2019)](https://mralbu.github.io/ai-datasets/p/moco.md): Built a large, consistent queue of negative keys with a slowly moving momentum encoder so unsupervised pretraining beat supervised ImageNet on transfer.
- [BYOL (2020)](https://mralbu.github.io/ai-datasets/p/byol.md): Learned strong image representations without any negative pairs by training an online network to predict a slowly moving copy of itself.
- [SimCLR (2020)](https://mralbu.github.io/ai-datasets/p/simclr.md): Showed that plain contrastive learning without queues or memory banks matches supervised ResNet-50 when paired with strong augmentations, a nonlinear projection head and large batches.
- [ViT (2020)](https://mralbu.github.io/ai-datasets/p/vit.md): Cut an image into 16×16 patches, treat them as words, and a plain Transformer matches the best convolutional networks.
- [CLIP (2021)](https://mralbu.github.io/ai-datasets/p/clip.md): Learn images from 400 million captions found on the web, then classify anything you can name.
- [DINO (2021)](https://mralbu.github.io/ai-datasets/p/dino.md): Applied label-free student–teacher self-distillation to Vision Transformers and uncovered emergent object segmentation in their attention maps.
- [Latent diffusion (2021)](https://mralbu.github.io/ai-datasets/p/latent-diffusion.md): Run diffusion in a compressed latent space instead of on pixels, and steer it with text through cross-attention.
- [MAE (2021)](https://mralbu.github.io/ai-datasets/p/mae.md): Masked 75% of an image's patches and trained a Vision Transformer to reconstruct the missing pixels using an asymmetric encoder–decoder.
- [Swin (2021)](https://mralbu.github.io/ai-datasets/p/swin.md): A Transformer that attends within small windows and merges patches as it goes deeper, so it can replace the ConvNet backbone in detection and segmentation.
- [ConvNeXt (2022)](https://mralbu.github.io/ai-datasets/p/convnext.md): Modernize a ResNet one design choice at a time, and a pure ConvNet matches Swin Transformers without any attention.
- [Flamingo (2022)](https://mralbu.github.io/ai-datasets/p/flamingo.md): Bridged a frozen vision encoder and a frozen LLM with gated cross-attention so one model learns new visual tasks from a few examples in the prompt.
- [DINOv2 (2023)](https://mralbu.github.io/ai-datasets/p/dinov2.md): Combined image-level self-distillation with patch-level masked modeling on 142 million automatically curated images to produce frozen all-purpose vision features.
- [SigLIP (2023)](https://mralbu.github.io/ai-datasets/p/siglip.md): Replaced CLIP's batch-wide softmax contrastive loss with an independent pairwise sigmoid loss, training stronger vision encoders at smaller and larger batch sizes alike.
