Table of Contents

TIMM

Getting Started

Install

pip install timm

Loading Model

import timm
import torch
## Model List
list_models = timm.list_models(pretrained=True)
## Create Model
model = timm.create_model('resnet50', pretrained=True)
model.eval()

References

https://github.com/huggingface/pytorch-image-models