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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 617 Bytes
9b0616b 7822a12 9b0616b 7822a12 9b0616b 7822a12 9b0616b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"fileFormatVersion": "1.0.0",
"itemInfoEntries": {
"5D3AF255-5F4D-4EE3-BC12-3B38690DA1DE": {
"author": "com.apple.CoreML",
"description": "CoreML Model Specification",
"name": "model.mlmodel",
"path": "com.apple.CoreML/model.mlmodel"
},
"871A3834-A719-4108-9576-7E776094437D": {
"author": "com.apple.CoreML",
"description": "CoreML Model Weights",
"name": "weights",
"path": "com.apple.CoreML/weights"
}
},
"rootModelIdentifier": "5D3AF255-5F4D-4EE3-BC12-3B38690DA1DE"
}
|