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)
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")
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/aimv2_large_patch14_336.apple_pt", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!