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