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