How to use whyoke/segment_50ep with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("whyoke/segment_50ep") model = SegformerForSemanticSegmentation.from_pretrained("whyoke/segment_50ep")
What is a pickle import?
How to fix it?