Upload model d529765 verified
Wei Chen commited on
How to use NexaAIalex/custom-resnet50d with Transformers:
# Load model directly
from transformers import AutoImageProcessor, ResnetModelForImageClassification
processor = AutoImageProcessor.from_pretrained("NexaAIalex/custom-resnet50d")
model = ResnetModelForImageClassification.from_pretrained("NexaAIalex/custom-resnet50d")