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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("microsoft/resnet-152") model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-152", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (6cbae9da8aa06e6d9eaf5032dc775ae37085b44c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>189229b
-
Add TF weights (#1)
- Add TF weights (d670374ae814897bb37ec81796ae4f7f16e564f7)2695835
-
Update README.md
d2848da
-
Add model card
70589f3
-
Add feature extractor
8ec4f56 -
Add model
8930991 -
initial commit
ae108a2