Instructions to use facebook/mask2former-swin-base-coco-panoptic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mask2former-swin-base-coco-panoptic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/mask2former-swin-base-coco-panoptic")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-base-coco-panoptic") model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-base-coco-panoptic", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#3)
- Adding `safetensors` variant of this model (853c97b51d851289775a7fcc82208fe10167b8ed) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8351ef9
-
change image_processor_type (#1)
- change image_processor_type (3d20e9a42718e9ca2db32a3680db5a09ef5077ae) Co-authored-by: Shivalika Singh <shivi@users.noreply.huggingface.co>b5b9655
-
Upload Mask2FormerForUniversalSegmentation
d14773b -
Upload processor
fdb6d2c -
Upload Mask2FormerForUniversalSegmentation
be0d8ae -
Upload processor
0b9da41
-
Update README.md
69472d8 -
Update preprocessor_config.json
dd96525
-
Create README.md
404f861
-
Upload Mask2FormerForUniversalSegmentation
c11a7dd -
Upload processor
6375d73 -
Upload Mask2FormerForUniversalSegmentation
0aeb71b -
Upload processor
f09731b -
initial commit
Alara Dirik55860f6