{"library":"timm","type":"library","category":null,"description":"PyTorch Image Models — collection of SOTA vision models, pretrained weights, layers, optimizers, and training utilities by Ross Wightman. Current version is 1.0.15 (Mar 2026). Primary weight source is now Hugging Face Hub. Import path for layers changed: timm.models.layers → timm.layers.","language":"python","status":"active","version":"1.0.15","tags":["computer-vision","image-classification","pretrained","resnet","efficientnet","vit","pytorch"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install timm","imports":["from timm.layers import PatchEmbed, Mlp, DropPath\n# or\nimport timm.layers","import timm\n\n# Load with pretrained weights\nmodel = timm.create_model('resnet50', pretrained=True)\n\n# Load specific weight variant using architecture.tag format\nmodel = timm.create_model('resnet50.a1_in1k', pretrained=True)\n\n# Custom num_classes for fine-tuning\nmodel = timm.create_model('efficientnet_b0', pretrained=True, num_classes=10)\n\n# Feature extraction (removes classifier)\nmodel = timm.create_model('resnet50', features_only=True, pretrained=True)"]}],"homepage":null,"github":"https://github.com/huggingface/pytorch-image-models","docs":"https://huggingface.co/docs/timm/en/index","changelog":null,"pypi":"https://pypi.org/project/timm/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":40,"avg_install_s":73.2,"avg_import_s":13.81,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/timm/compatibility"}}