How to use ThankGod/regular-segmentation-model with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("ThankGod/regular-segmentation-model") model = SegformerForSemanticSegmentation.from_pretrained("ThankGod/regular-segmentation-model")
What is a pickle import?