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