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