Instructions to use facebook/mask2former-swin-large-coco-panoptic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/mask2former-swin-large-coco-panoptic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="facebook/mask2former-swin-large-coco-panoptic")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("facebook/mask2former-swin-large-coco-panoptic") model = Mask2FormerForUniversalSegmentation.from_pretrained("facebook/mask2former-swin-large-coco-panoptic", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from facebook/mask2former-swin-large-coco-panoptic: direct link, hf CLI and curl.
- Browser
- Download file 866 MB
-
https://huggingface.co/facebook/mask2former-swin-large-coco-panoptic/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://facebook/mask2former-swin-large-coco-panoptic/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/facebook/mask2former-swin-large-coco-panoptic/resolve/main/pytorch_model.bin
866 MB
- Xet hash:
- 8e30af1b79ba9da3851cb7190f5eb3a7c8340623cc5ce06fa09eb71d3e207e28
- Size of remote file:
- 866 MB
- SHA256:
- 2bdb3d36704e79e70a009e39bce41e8d887a9962259b08c959aa0ddf8ffe5d3b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.