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