ResNet-50 ImageNet training trajectory
103 checkpoints trained from scratch
2 min readupdated
A collection of 103 sequential saves (checkpoints) of the classic ResNet-50 image recognition model spanning its entire training run on the ImageNet-1k dataset. Rather than just giving you the final weights, this repository from LSL-datasets lets you look inside the training process itself—from random weight initialization at step zero all the way to epoch 90. Each file stores not only the PyTorch weights, but also the current step, epoch, learning rate, and validation accuracy. The release is aimed primarily at researchers, students, and ML engineers studying neural network convergence dynamics.
Key features
- Full training trajectory: 103 weight files (~103 MB each), covering step zero before training begins, frequent early snapshots (steps 16–1000, epochs 1.5–4.5), and the end of every epoch from 1 through 90.
- Ready-to-use metrics log: includes a
trajectory.csvtable trackingval_top1andval_top5scores for every saved step. - Reproducible recipe: trained using
torchvision.models.resnet50with the SGD optimizer, a batch size of 1024, and cosine learning rate decay. - Solid final accuracy: the final checkpoint (step 112,590) hits 76.7% top-1 and 93.3% top-5 accuracy across 50,000 ImageNet validation images.
What you can do
- Explore loss landscapes and weight dynamics: analyze how internal layer representations evolve during early versus late stages of training.
- Benchmark pruning and quantization methods: test which training epoch responds best to model compression or fine-tuning on custom classes.
- Use in coursework and labs: give students a hands-on look at warmup effects and cosine learning rate schedules without burning GPU hours training from scratch.
Example
import torch, torchvision
from huggingface_hub import hf_hub_download
path = hf_hub_download("LSL-datasets/resnet50-imagenet-trajectory", "checkpoints/step0112590.pt")
ckpt = torch.load(path, map_location="cpu", weights_only=True)
model = torchvision.models.resnet50()
model.load_state_dict(ckpt["model"])
print(ckpt["epoch"], ckpt["val_top1"]) # 90.0 0.76658
Read more
DetailsFinal metrics: 76.7% top-1 and 93.3% top-5 (224×224 center crop).
Hardware and setup: 2 GPUs with DistributedDataParallel, bfloat16 precision, batch size of 1024 images.
Limitations: ImageNet license — strictly for non-commercial research and educational use.










Comments