Instructions to use zeromodels/mask2former-swin-tiny-coco-instance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/mask2former-swin-tiny-coco-instance 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/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
Upgrade kf_config.json to v2 (nested config + weight_dtype)
Browse files- kf_config.json +1 -1
kf_config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"variant": "mask2former-swin-tiny-coco-instance",
|
| 7 |
"weights": "model.weights.h5",
|
| 8 |
"schema_version": 2,
|
| 9 |
-
"
|
| 10 |
"model_type": "mask2former",
|
| 11 |
"vision_config": {
|
| 12 |
"backbone_embed_dim": 96,
|
|
|
|
| 6 |
"variant": "mask2former-swin-tiny-coco-instance",
|
| 7 |
"weights": "model.weights.h5",
|
| 8 |
"schema_version": 2,
|
| 9 |
+
"weight_dtype": "float32",
|
| 10 |
"model_type": "mask2former",
|
| 11 |
"vision_config": {
|
| 12 |
"backbone_embed_dim": 96,
|