Instructions to use zeromodels/mask2former-swin-tiny-coco-instance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/mask2former-swin-tiny-coco-instance 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/mask2former-swin-tiny-coco-instance") - Notebooks
- Google Colab
- Kaggle
File size: 384 Bytes
99e4677 48f2417 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"library_name": "zeromodels",
"zeromodels_version": "1.1.3",
"preprocessor_module": "zeromodels.models.mask2former",
"preprocessor_class": "Mask2FormerImageProcessor",
"variant": "mask2former-swin-tiny-coco-instance",
"target_size": 384,
"image_mean": [
0.485,
0.456,
0.406
],
"image_std": [
0.229,
0.224,
0.225
],
"data_format": null
} |