Instructions to use timm/resnet34.a3_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/resnet34.a3_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/resnet34.a3_in1k", pretrained=True) - Transformers
How to use timm/resnet34.a3_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/resnet34.a3_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/resnet34.a3_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
eea3590 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:840fcf8748b3ee37cde316f89d4247054aaaa96ae49cf9d94154665a69978141
size 87330485
|