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