Transformers How to use Francesco/resnet152-224-1k with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Francesco/resnet152-224-1k")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("Francesco/resnet152-224-1k")
model = AutoModelForImageClassification.from_pretrained("Francesco/resnet152-224-1k")