Instructions to use timm/vit_small_patch16_224.dino with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_small_patch16_224.dino with timm:
import timm model = timm.create_model("hf-hub:timm/vit_small_patch16_224.dino", pretrained=True) - Transformers
How to use timm/vit_small_patch16_224.dino with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="timm/vit_small_patch16_224.dino")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("timm/vit_small_patch16_224.dino") model = AutoModel.from_pretrained("timm/vit_small_patch16_224.dino", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
d1fd955 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8d4795b8e4e327c6d841e15a2e3e6d88c45346256a43f8cdae8c26d92c806f7a
size 86676340
|