Instructions to use timm/maxvit_tiny_tf_224.in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/maxvit_tiny_tf_224.in1k with timm:
import timm model = timm.create_model("hf_hub:timm/maxvit_tiny_tf_224.in1k", pretrained=True) - Transformers
How to use timm/maxvit_tiny_tf_224.in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/maxvit_tiny_tf_224.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/maxvit_tiny_tf_224.in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
36d8e48 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bb7df98fcb8576411cd97b34fdbb418bed22710fbf60943ba943fe46d332ff8b
size 124072481
|