Instructions to use apple/deeplabv3-mobilevit-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/deeplabv3-mobilevit-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="apple/deeplabv3-mobilevit-small")# Load model directly from transformers import AutoImageProcessor, MobileViTForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("apple/deeplabv3-mobilevit-small") model = MobileViTForSemanticSegmentation.from_pretrained("apple/deeplabv3-mobilevit-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 187 Bytes
51044a7 | 1 2 3 4 5 6 7 8 9 10 | {
"crop_size": 512,
"do_center_crop": true,
"do_flip_channels": true,
"do_resize": true,
"feature_extractor_type": "MobileViTFeatureExtractor",
"resample": 2,
"size": 544
}
|