Instructions to use facebook/maskformer-swin-tiny-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/maskformer-swin-tiny-coco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/maskformer-swin-tiny-coco")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("facebook/maskformer-swin-tiny-coco") model = MaskFormerForInstanceSegmentation.from_pretrained("facebook/maskformer-swin-tiny-coco", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (b3624cd21e04e5ca970bb6e3cafbc77f41068e43) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>347b42f
-
Update README.md
7213b3a
-
Update README.md
e15d3f3
-
Upload README.md
a1e0c13
-
Add model
7bb0a7e -
Add model
2488e4e -
initial commit
e1a4289