Transformers How to use apple/aimv2-huge-patch14-448 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="apple/aimv2-huge-patch14-448", trust_remote_code=True) # Load model directly
from transformers import AutoImageProcessor, AutoModel
processor = AutoImageProcessor.from_pretrained("apple/aimv2-huge-patch14-448", trust_remote_code=True)
model = AutoModel.from_pretrained("apple/aimv2-huge-patch14-448", trust_remote_code=True)