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