Image Segmentation
Keras
PyTorch
JAX
TensorFlow
zeromodels
mobilevit
deeplabv3
semantic-segmentation
Instructions to use zeromodels/mobilevit_xs_deeplabv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/mobilevit_xs_deeplabv3 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/mobilevit_xs_deeplabv3") - Notebooks
- Google Colab
- Kaggle
Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge)
623d4da verified | { | |
| "library_name": "zeromodels", | |
| "preprocessor_module": "zeromodels.models.mobilevit", | |
| "preprocessor_class": "MobileViTImageProcessor", | |
| "variant": null, | |
| "size": { | |
| "shortest_edge": 544 | |
| }, | |
| "crop_size": { | |
| "height": 512, | |
| "width": 512 | |
| }, | |
| "resample": "bilinear", | |
| "do_resize": true, | |
| "do_center_crop": true, | |
| "do_rescale": true, | |
| "rescale_factor": 0.00392156862745098, | |
| "do_flip_channel_order": true, | |
| "return_tensor": true, | |
| "data_format": null | |
| } |