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
| { | |
| "fileFormatVersion": "1.0.0", | |
| "itemInfoEntries": { | |
| "4D7D9A73-AEEC-412D-A20C-7AA2C0F806EF": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Specification", | |
| "name": "model.mlmodel", | |
| "path": "com.apple.CoreML/model.mlmodel" | |
| }, | |
| "FBABE180-594F-4894-9881-F3B3D807D27D": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Weights", | |
| "name": "weights", | |
| "path": "com.apple.CoreML/weights" | |
| } | |
| }, | |
| "rootModelIdentifier": "4D7D9A73-AEEC-412D-A20C-7AA2C0F806EF" | |
| } | |