Instructions to use timm/resnet152.a3_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/resnet152.a3_in1k with timm:
import timm model = timm.create_model("hf-hub:timm/resnet152.a3_in1k", pretrained=True) - Transformers
How to use timm/resnet152.a3_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/resnet152.a3_in1k") 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("timm/resnet152.a3_in1k") model = AutoModelForImageClassification.from_pretrained("timm/resnet152.a3_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from timm/resnet152.a3_in1k: direct link, hf CLI and curl.
- Browser
- Download file 242 MB
-
https://huggingface.co/timm/resnet152.a3_in1k/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://timm/resnet152.a3_in1k/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/timm/resnet152.a3_in1k/resolve/main/pytorch_model.bin
242 MB
- Xet hash:
- 061995a7936d6408e1cf46a1a8636209b3f8c44c742170db210eedb8750c193c
- Size of remote file:
- 242 MB
- SHA256:
- 99f4c1db60d32e8fc93e713c50f89f3a2277219d515bdf3c3d168cea0ee5c3e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.