Instructions to use timm/resnet50.a1_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/resnet50.a1_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/resnet50.a1_in1k", pretrained=True) - Transformers
How to use timm/resnet50.a1_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/resnet50.a1_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/resnet50.a1_in1k", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 15338421bea4fd54046dc34fc61f53a1e868461e9b4b0f3670b415d617137463
- Size of remote file:
- 103 MB
- SHA256:
- c91efffdecf294741da6af78a1a17f3fb9891706982bee200f2093afe5c2e341
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.