Instructions to use microsoft/swin-large-patch4-window12-384-in22k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/swin-large-patch4-window12-384-in22k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/swin-large-patch4-window12-384-in22k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("microsoft/swin-large-patch4-window12-384-in22k") model = AutoModelForImageClassification.from_pretrained("microsoft/swin-large-patch4-window12-384-in22k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
e6cbdec | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f2162687c1e8c50138c5c4cffe19ab0bdbe94497017a8c32945ce749fdd6831d
size 919233343
|