Instructions to use facebook/maskformer-resnet50-coco-stuff with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/maskformer-resnet50-coco-stuff with Transformers:
# Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("facebook/maskformer-resnet50-coco-stuff") model = MaskFormerForInstanceSegmentation.from_pretrained("facebook/maskformer-resnet50-coco-stuff") - Notebooks
- Google Colab
- Kaggle