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