Instructions to use shi-labs/oneformer_ade20k_swin_tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shi-labs/oneformer_ade20k_swin_tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="shi-labs/oneformer_ade20k_swin_tiny")# Load model directly from transformers import AutoProcessor, OneFormerForUniversalSegmentation processor = AutoProcessor.from_pretrained("shi-labs/oneformer_ade20k_swin_tiny") model = OneFormerForUniversalSegmentation.from_pretrained("shi-labs/oneformer_ade20k_swin_tiny") - Inference
- Notebooks
- Google Colab
- Kaggle
π© Report
#1
by icfixx - opened
Not working
Hi @icfixx , this is still under development. It will work once the OneFormer model is added to the transformers library.
praeclarumjj3 changed discussion status to closed