Instructions to use openmmlab/upernet-convnext-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openmmlab/upernet-convnext-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="openmmlab/upernet-convnext-large")# Load model directly from transformers import AutoImageProcessor, UperNetForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("openmmlab/upernet-convnext-large") model = UperNetForSemanticSegmentation.from_pretrained("openmmlab/upernet-convnext-large") - Notebooks
- Google Colab
- Kaggle
UperNet, ConvNeXt large-sized backbone
UperNet framework for semantic segmentation, leveraging a ConvNeXt backbone. UperNet was introduced in the paper Unified Perceptual Parsing for Scene Understanding by Xiao et al.
Combining UperNet with a ConvNeXt backbone was introduced in the paper A ConvNet for the 2020s.
Disclaimer: The team releasing UperNet + ConvNeXt did not write a model card for this model so this model card has been written by the Hugging Face team.
Model description
UperNet is a framework for semantic segmentation. It consists of several components, including a backbone, a Feature Pyramid Network (FPN) and a Pyramid Pooling Module (PPM).
Any visual backbone can be plugged into the UperNet framework. The framework predicts a semantic label per pixel.
Intended uses & limitations
You can use the raw model for semantic segmentation. See the model hub to look for fine-tuned versions (with various backbones) on a task that interests you.
How to use
For code examples, we refer to the documentation.
- Downloads last month
- 2,119
