Instructions to use microsoft/resnet-152 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/resnet-152 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/resnet-152") 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-152") model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-152") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
8930991 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7ebcf680ad55ee87b94142d741d38d9a4355d7c2193b9532d201ef2a8b8dcd7e
size 241750265
|