Instructions to use timm/mvitv2_tiny.fb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/mvitv2_tiny.fb_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/mvitv2_tiny.fb_in1k", pretrained=True) - Transformers
How to use timm/mvitv2_tiny.fb_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/mvitv2_tiny.fb_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/mvitv2_tiny.fb_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
8aff52f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:96bc540f763f74a422a239af01961374997d5f03706a1e7e23b3b2c8f039b150
size 96780437
|