Instructions to use facebook/mask2former-swin-small-coco-panoptic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mask2former-swin-small-coco-panoptic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/mask2former-swin-small-coco-panoptic")# Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-small-coco-panoptic") model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-small-coco-panoptic") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0ddc4928014b930d895901d24bc694f881d69bc8d1b46d5f367ec0b43dddba92
- Size of remote file:
- 276 MB
- SHA256:
- 9c9198248840888a14d0dfd70c78538fb186c196d9d0e9dd0de9ccaa0a3d17eb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.