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