# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("ismaeltorres00/Modelodetest")
model = AutoModelForImageClassification.from_pretrained("ismaeltorres00/Modelodetest")Quick Links
Esto es un ejercicio del curso de IABD
- Downloads last month
- 2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ismaeltorres00/Modelodetest") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")