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