Instructions to use leftthomas/resnet50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leftthomas/resnet50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="leftthomas/resnet50", trust_remote_code=True) 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("leftthomas/resnet50", trust_remote_code=True) model = AutoModelForImageClassification.from_pretrained("leftthomas/resnet50", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Commit ·
19128d8
1
Parent(s): c9579f7
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,6 @@ widget:
|
|
| 12 |
example_title: Teapot
|
| 13 |
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
| 14 |
example_title: Palace
|
| 15 |
-
- trust_remote_code: True
|
| 16 |
---
|
| 17 |
|
| 18 |
# ResNet-50
|
|
|
|
| 12 |
example_title: Teapot
|
| 13 |
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
| 14 |
example_title: Palace
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# ResNet-50
|