Instructions to use microsoft/resnet-18 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/resnet-18 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/resnet-18") 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-18") model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-18") - Inference
- Notebooks
- Google Colab
- Kaggle
Details on training hyperparameters
#5 opened over 1 year ago
by
egesko19
Update README.md
#4 opened about 2 years ago
by
harveyj123
Adding ONNX file of this model
2
#3 opened over 2 years ago
by
max-tao