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