Instructions to use facebook/mask2former-swin-small-coco-instance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mask2former-swin-small-coco-instance with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/mask2former-swin-small-coco-instance")# Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-small-coco-instance") model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-small-coco-instance") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
Upload Mask2FormerForUniversalSegmentation f8eb176
Upload processor babc022
Update README.md d32b7ee
Update preprocessor_config.json 120e87d
Create README.md 440b72e
Upload Mask2FormerForUniversalSegmentation dd83f8c
Upload processor 3fbe268
initial commit 0419de1
Alara Dirik commited on