Instructions to use zeromodels/deeplabv3_resnet101_coco_voc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/deeplabv3_resnet101_coco_voc 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/deeplabv3_resnet101_coco_voc") - Notebooks
- Google Colab
- Kaggle
Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge)
edfa0f8 verified | { | |
| "library_name": "zeromodels", | |
| "zeromodels_version": "1.1.3", | |
| "preprocessor_module": "zeromodels.models.deeplabv3", | |
| "preprocessor_class": "DeepLabV3ImageProcessor", | |
| "variant": "deeplabv3_resnet101_coco_voc", | |
| "size": { | |
| "height": 520, | |
| "width": 520 | |
| }, | |
| "resample": "bilinear", | |
| "do_rescale": true, | |
| "rescale_factor": 0.00392156862745098, | |
| "do_normalize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "return_tensor": true, | |
| "data_format": null | |
| } |