Instructions to use SpotLab/MobileViT_DeepLabv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- 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") - Notebooks
- Google Colab
- Kaggle
| { | |
| "crop_size": 512, | |
| "do_center_crop": true, | |
| "do_flip_channels": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "MobileViTFeatureExtractor", | |
| "resample": 2, | |
| "size": 544 | |
| } | |