Transformers How to use SpotLab/MobileViT_DeepLabv3 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-segmentation", model="SpotLab/MobileViT_DeepLabv3") # Load model directly
from transformers import AutoImageProcessor, MobileViTForSemanticSegmentation
processor = AutoImageProcessor.from_pretrained("SpotLab/MobileViT_DeepLabv3")
model = MobileViTForSemanticSegmentation.from_pretrained("SpotLab/MobileViT_DeepLabv3")