Instructions to use timm/mvitv2_large.fb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/mvitv2_large.fb_in1k with timm:
import timm model = timm.create_model("hf-hub:timm/mvitv2_large.fb_in1k", pretrained=True) - Transformers
How to use timm/mvitv2_large.fb_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/mvitv2_large.fb_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("timm/mvitv2_large.fb_in1k") model = AutoModelForImageClassification.from_pretrained("timm/mvitv2_large.fb_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
37beba8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fef796b53077bea3eeb08b3811ed1af3baa46478894ec5ee16cc5ab4db998e77
size 872359089
|