How to use ProDev9515/roadwork-72-uuEa56Y with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ProDev9515/roadwork-72-uuEa56Y") 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("ProDev9515/roadwork-72-uuEa56Y") model = AutoModelForImageClassification.from_pretrained("ProDev9515/roadwork-72-uuEa56Y")
How to fix it?