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