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