Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Vision & Image / timm (PyTorch Image Models)
◐ModelVision & ImageFree

timm (PyTorch Image Models)

The largest collection of pretrained image models for PyTorch — ViT, ConvNeXt, EfficientNet, Swin, and 900+ more.

@ai-supply
Installs490k
Rating★ 4.9
Reviews163
Install (free) to download the source.↗ Source repository

timm — PyTorch Image Models

timm is Ross Wightman's ever-expanding collection of state-of-the-art image models, pretrained weights, and training utilities for PyTorch. With 900+ model architectures and thousands of pretrained checkpoints, it is the go-to library for transfer learning, feature extraction, and vision benchmarking.

Key Features

  • 900+ model architectures: ViT, DeiT, Swin, ConvNeXt, EfficientNet, RegNet, ResNet, and more
  • Thousands of pretrained weights from ImageNet, ImageNet-21k, LAION, and domain-specific datasets
  • Universal create_model() API with consistent feature extraction interface
  • Optimised data augmentation (RandAugment, MixUp, CutMix) and training recipes
  • ONNX and TorchScript export; timm.onnx helper for direct export

Quick Start

pip install timm
import timm
import torch

model = timm.create_model("convnext_base.fb_in22k", pretrained=True)
model.eval()

data_cfg = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_cfg, is_training=False)

from PIL import Image
img = transforms(Image.open("image.jpg")).unsqueeze(0)
with torch.no_grad():
    output = model(img)
print(output.topk(5))
npx ai-supply add timm-image-models

Curated mirror of the open-source pytorch-image-models (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
◆Skill
OpenCV Python
The world's most popular computer vision library with Python bindings — image processing, video, and ML pipelines.
↓ 500k★ 4.9
⌬Workflow
Apache Airflow
Apache-2.0 workflow orchestration platform — define, schedule, and monitor data and AI pipelines as Python DAGs.
↓ 395k★ 4.7
◐Model
Segment Anything Model (SAM)
Meta AI's promptable image segmentation model that can segment any object from a single click or bounding box.
↓ 320k★ 4.9
◐Model
Mistral-7B-v0.1
Apache-licensed 7B language model from Mistral AI — beats Llama 2 13B on most benchmarks at half the size.
↓ 320k★ 4.8
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy