# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("daking/custom-resnet50d", trust_remote_code=True)
model = AutoModelForImageClassification.from_pretrained("daking/custom-resnet50d", trust_remote_code=True)Quick Links
No model card
- Downloads last month
- 8
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="daking/custom-resnet50d", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")