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