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
Create README.md
#1
by regisss HF Staff - opened
No description provided.
This PR adds a model card to the model.
LGTM, although the general "imagenet" tag can be removed
Thanks! You're right, I'm going to remove it after this is merged (because I don't see how to commit to the current PR)
Okay I managed, still discovering the Hub functionalities XD
nielsr changed pull request status to merged