Instructions to use microsoft/resnet-34 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/resnet-34 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/resnet-34") 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-34") model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-34", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add TF weights
Model converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). All converted model outputs and hidden layers were validated against its Pytorch counterpart. Maximum crossload output difference=1.211e-04; Maximum converted output difference=1.211e-04.ceb1877
-
Update README.md
f5f4f59 -
Update README.md
0d69582
-
Add model card
d87dea6
-
Add feature extractor
8ea552b -
Add model
52818d9 -
initial commit
35b275b