Instructions to use openmmlab/upernet-swin-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openmmlab/upernet-swin-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="openmmlab/upernet-swin-base")# Load model directly from transformers import AutoImageProcessor, UperNetForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("openmmlab/upernet-swin-base") model = UperNetForSemanticSegmentation.from_pretrained("openmmlab/upernet-swin-base") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
4fe0f5e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:07121a6f35ca212fff87edae64ad216dd2a9cab671f89b312638d3def3bea47b
size 489874281
|