huggingface/pytorch-image-models
The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights -- ResNet, ResNeXT, EfficientNet, NFNet, Vision Transformer (ViT), MobileNetV4, MobileNet-V3 & V2, RegNet, DPN, CSPNet, Swin Transformer, MaxViT, CoAtNet, ConvNeXt, and more observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 33.5
- age_days: 2769
- days_rel: 53
- days_push: 7
- n_releases_24m: 19
Adoption not part of the score
37099 stars · 5192 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PyTorch Image Models (timm) is a Python library offering the largest collection of PyTorch image encoder/backbone architectures with 700+ pretrained weights, plus layers, optimizers, schedulers, augmentations, and training/eval scripts. It provides a unified API (create_model) for loading, fine-tuning, and extracting features from models like ResNet, EfficientNet, ViT, Swin, and ConvNeXt.
Use cases
- load a pretrained image classification model in pytorch
- extract image features with a vision backbone
- fine-tune a vision transformer on my own dataset
- train an image classifier on imagenet with distributed training
- find the best pretrained cnn or vit weights for transfer learning
- export a pytorch image model for inference
- compare efficientnet resnet convnext model performance
When to choose
- you need a wide variety of image model architectures with pretrained weights in PyTorch
- you want a consistent API for training, inference, and feature extraction across vision backbones
- you need state-of-the-art vision models like ViT, Swin, ConvNeXt, or EfficientNet without reimplementing them
When to avoid
- you work outside PyTorch (e.g., TensorFlow or JAX)
- you need non-image tasks like NLP or audio
- you want a no-code or hosted inference service rather than a Python library
Facets
library · maturity active
machine-learning deep-learning image-processing computer-vision sdk deep-learning computer-vision image-processing machine-learning python cross-platform pytorch timm pretrained-models vision-transformers image-classification model-zoo transfer-learning feature-extraction gpu
10 sources
- readme: https://github.com/huggingface/pytorch-image-models · fetched 2026-08-28 · 3c92fed5b07b
- homepage: https://huggingface.co/docs/timm · fetched 2026-08-29 · 9fe7113cbade
- site_page: https://huggingface.co/docs · fetched 2026-08-29 · bdec26667b98
- site_page: https://huggingface.co/docs/timm/quickstart · fetched 2026-08-29 · 86b655326f91
- site_page: https://huggingface.co/docs/timm/installation · fetched 2026-08-29 · c583dde348e4
- site_page: https://huggingface.co/docs/timm/changes · fetched 2026-08-29 · 85937fb796d7
- site_page: https://huggingface.co/docs/timm/feature_extraction · fetched 2026-08-29 · a135228f565e
- site_page: https://huggingface.co/docs/timm/hparams · fetched 2026-08-29 · fcc02f4cc36b
- site_page: https://huggingface.co/docs/timm/training_script · fetched 2026-08-29 · 702b00866b2e
- site_page: https://huggingface.co/pricing · fetched 2026-08-29 · de6b7a178be5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/pytorch-image-models | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/pytorch-image-models")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem