Instructions to use microsoft/resnet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/resnet-50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/resnet-50") 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("microsoft/resnet-50") model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-50") - Inference
- Notebooks
- Google Colab
- Kaggle
Seeking ResNet-50 v1.5 Training Code
#7
by d-vs - opened
Hello,
I'm looking for the training source code for Microsoft's ResNet-50 v1.5 model, pre-trained on ImageNet-1k at 224x224 resolution. The library provides the model but not the training code. Any help in obtaining the code for replication would be appreciated.
Thank you.