Instructions to use timm/aimv2_huge_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_huge_patch14_336.apple_pt with timm:
import timm model = timm.create_model("hf-hub:timm/aimv2_huge_patch14_336.apple_pt", pretrained=True) - Transformers
How to use timm/aimv2_huge_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_huge_patch14_336.apple_pt")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("timm/aimv2_huge_patch14_336.apple_pt") model = AutoModel.from_pretrained("timm/aimv2_huge_patch14_336.apple_pt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
fea9c70 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:56f6d84f472a9f3d4d8915341a3887cf23f092b58d7b6c169f1356ca1773b3f2
size 2725449662
|