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