Instructions to use shi-labs/oneformer_coco_dinat_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shi-labs/oneformer_coco_dinat_large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="shi-labs/oneformer_coco_dinat_large")# Load model directly from transformers import AutoProcessor, OneFormerForUniversalSegmentation processor = AutoProcessor.from_pretrained("shi-labs/oneformer_coco_dinat_large") model = OneFormerForUniversalSegmentation.from_pretrained("shi-labs/oneformer_coco_dinat_large") - Notebooks
- Google Colab
- Kaggle
Ctrl+K