Instructions to use facebook/maskformer-swin-tiny-ade with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/maskformer-swin-tiny-ade with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/maskformer-swin-tiny-ade")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("facebook/maskformer-swin-tiny-ade") model = MaskFormerForInstanceSegmentation.from_pretrained("facebook/maskformer-swin-tiny-ade", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (d031e9bc053b09b3a76a74eea0e7771d2704a09c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>ea43bbf
-
Update README.md
cb488c7 -
Update README.md
8b5afe4 -
Update README.md
c84827e
-
Update README.md
5477492
-
Upload README.md
80bb6d9
-
Add model
3e4eebf -
Add model
67cac3a -
initial commit
4d2646c