Transformers How to use ashish-soni08/segformer-segmentation-model with Transformers:
# Load model directly
from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("ashish-soni08/segformer-segmentation-model")
model = SegformerForSemanticSegmentation.from_pretrained("ashish-soni08/segformer-segmentation-model")