How to use Visual-Attention-Network/van-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Visual-Attention-Network/van-base") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("Visual-Attention-Network/van-base", dtype="auto")