Transformers How to use hf-tiny-model-private/tiny-random-DPTForSemanticSegmentation with Transformers:
# Load model directly
from transformers import AutoImageProcessor, DPTForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-DPTForSemanticSegmentation")
model = DPTForSemanticSegmentation.from_pretrained("hf-tiny-model-private/tiny-random-DPTForSemanticSegmentation")
# Load model directly from transformers import AutoImageProcessor, DPTForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-DPTForSemanticSegmentation") model = DPTForSemanticSegmentation.from_pretrained("hf-tiny-model-private/tiny-random-DPTForSemanticSegmentation")