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