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