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")# pip install -U transformers accelerate # 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
Download MobileViT_DeepLabV3.mlpackage/Data/com.apple.CoreML/model.mlmodel from SpotLab/MobileViT_DeepLabv3: direct link, hf CLI and curl.
- Browser
- Download file 147 kB
-
https://huggingface.co/SpotLab/MobileViT_DeepLabv3/resolve/83887ce83ff6fef727b3630a2b0e9daf07dfbfb7/MobileViT_DeepLabV3.mlpackage/Data/com.apple.CoreML/model.mlmodel
- Command line
-
hf download hf://SpotLab/MobileViT_DeepLabv3@83887ce83ff6fef727b3630a2b0e9daf07dfbfb7/MobileViT_DeepLabV3.mlpackage/Data/com.apple.CoreML/model.mlmodel
-
curl -L -o model.mlmodel https://huggingface.co/SpotLab/MobileViT_DeepLabv3/resolve/83887ce83ff6fef727b3630a2b0e9daf07dfbfb7/MobileViT_DeepLabV3.mlpackage/Data/com.apple.CoreML/model.mlmodel
147 kB
This file contains binary data. It cannot be displayed, but you can still download it.