Image Segmentation
KerasFormers
Keras
PyTorch
JAX
TensorFlow
mobilevit
deeplabv3
semantic-segmentation
Instructions to use zeromodels/mobilevitv2_100_deeplabv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/mobilevitv2_100_deeplabv3 with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use zeromodels/mobilevitv2_100_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/mobilevitv2_100_deeplabv3") - Notebooks
- Google Colab
- Kaggle
Upload kf_preprocessor.json with huggingface_hub
Browse files- kf_preprocessor.json +21 -0
kf_preprocessor.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"library_name": "kerasformers",
|
| 3 |
+
"preprocessor_module": "kerasformers.models.mobilevitv2",
|
| 4 |
+
"preprocessor_class": "MobileViTV2ImageProcessor",
|
| 5 |
+
"variant": null,
|
| 6 |
+
"size": {
|
| 7 |
+
"shortest_edge": 544
|
| 8 |
+
},
|
| 9 |
+
"crop_size": {
|
| 10 |
+
"height": 512,
|
| 11 |
+
"width": 512
|
| 12 |
+
},
|
| 13 |
+
"resample": "bilinear",
|
| 14 |
+
"do_resize": true,
|
| 15 |
+
"do_center_crop": true,
|
| 16 |
+
"do_rescale": true,
|
| 17 |
+
"rescale_factor": 0.00392156862745098,
|
| 18 |
+
"do_flip_channel_order": true,
|
| 19 |
+
"return_tensor": true,
|
| 20 |
+
"data_format": null
|
| 21 |
+
}
|