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