Model Details
Full Model IDfacebook/mask2former-swin-large-cityscapes-semantic
Pipeline / Taskimage-segmentation
Librarytransformers
Downloads (all-time)185.1K
Likes37
Last Modified9/7/2023
Author / Orgfacebook
PrivateNo — public
⚡ Quick Usage (Python)
Using the 🤗 Transformers library. Install with pip install transformers
from transformers import pipeline
# Load the model
pipe = pipeline("image-segmentation", model="facebook/mask2former-swin-large-cityscapes-semantic")
# Run inference
result = pipe("Your input here")
print(result)🏷️ Tags
transformerspytorchsafetensorsmask2formervisionimage-segmentationdataset:cocoarxiv:2112.01527arxiv:2107.06278license:otherendpoints_compatibledeploy:azureregion:us
More image-segmentation Models
See all →🚀 Use This Model
Access model files, inference API, and full documentation on Hugging Face.
Open on Hugging Face →Browse Model Files ↗← Browse All Models🤖 Task: image-segmentation
This model is designed for the image-segmentation task. Explore more models for this use case.
All image-segmentation Models →📊 Popularity
⬇ Downloads185.1K
❤️ Community Likes37
🛠️ Requirements
- →Install: pip install transformers
- →Python 3.8+ recommended for Transformers.
- →GPU (CUDA) speeds up inference significantly.
- →Use model.half() for fp16 on limited VRAM.