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")# pip install -U transformers accelerate # 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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
19128d8 -
Update README.md
c9579f7 -
Update config.json
c8189a8 -
Update config.json
c937b58 -
Update README.md
47d5ce2 -
Update README.md
a03842c -
Upload pytorch_model.bin with git-lfs
445a59b -
Upload modeling_resnet.py
21e720a -
Upload configuration_resnet.py
901629b -
Upload config.json
5e92eb3 -
Delete pytorch_model.bin
af7f2a3 -
Delete config.json
2381d50 -
Update README.md
b7b70bc -
Upload pytorch_model.bin with git-lfs
1fecfb8 -
Upload config.json
96e3c54 -
Delete config.json
f9a8fa1 -
Delete pytorch_model.bin
2bfaafb
-
Update config.json
a940533 -
Create config.json
af4062b -
Upload pytorch_model.bin with git-lfs
c9c12e0 -
Update README.md
a56c920 -
initial commit
28236f2