How to use Intel/dpt-large-ade with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Intel/dpt-large-ade")
# Load model directly from transformers import AutoImageProcessor, DPTForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("Intel/dpt-large-ade") model = DPTForSemanticSegmentation.from_pretrained("Intel/dpt-large-ade")
What is a pickle import?