# timm (PyTorch Image Models)

> Large collection of PyTorch image models and backbones with pretrained weights and training scripts

Source: https://talira.ai/catalog/timm-pytorch-image-models-qw7wz34c
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / ml / model libraries](https://talira.ai/categories/ai/ml/model-libraries)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (Apache-2.0 for the code).
- Free tier: yes[^1]
- Backed by: [Hugging Face](https://talira.ai/orgs/hugging-face.md)

timm (PyTorch Image Models) is a collection of image models, layers, utilities, optimizers, schedulers, data loaders and augmentations, and reference training and validation scripts for [PyTorch](https://talira.ai/catalog/pytorch-95ycaf9h.md). It brings together a wide range of architectures, including ResNet, EfficientNet, Vision Transformers and ConvNeXt, nearly all with pretrained weights, and every model can extract multi-scale feature maps for use as a backbone.

## Links

- GitHub: https://github.com/huggingface/pytorch-image-models
- Docs: https://huggingface.co/docs/timm

## Problems it solves

- get a pretrained image classification backbone for my PyTorch model
- fine-tune a Vision Transformer on my own images
- compare many image model architectures with the same training code

## Features

- a wide range of image model architectures, nearly all with pretrained weights
- multi-scale feature map extraction for using models as backbones
- reference training, validation and inference scripts
- optimizers, schedulers and augmentations for image training

## Limitations

- Most pretrained weights were trained on ImageNet, which was released for non-commercial research only, so their makers advise legal advice before using them commercially.[^1]
- Some weights it references carry their own non-commercial licences, such as Facebook's WSL and SSL ResNeXt models (CC-BY-NC 4.0).[^1]

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.91, momentum 0.79, community 0.94, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 243 commits in the last 90 days
- latest release v1.0.31 26 days ago
- 37.3k GitHub stars
- 226 contributors
- backed by Hugging Face

## Related

- Works with [PyTorch](https://talira.ai/catalog/pytorch-95ycaf9h.md)

## Alternatives

- [vit-pytorch](https://talira.ai/catalog/vit-pytorch-8yyrdy8q.md): PyTorch implementations of the Vision Transformer and dozens of its variants
- [Transformers](https://talira.ai/catalog/transformers-fxs828eh.md): Hugging Face's Python library of model definitions for text, vision, audio and multimodal models
- [Diffusers](https://talira.ai/catalog/diffusers-38vc4bvt.md): State-of-the-art diffusion models for image, video, and audio generation in PyTorch

## Sources

[^1]: https://github.com/huggingface/pytorch-image-models/blob/main/README.md (checked 29 Nov 2026)
