Instructions to use zeromodels/eomt_large_coco_instance_640 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/eomt_large_coco_instance_640 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/eomt_large_coco_instance_640 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/eomt_large_coco_instance_640") - Notebooks
- Google Colab
- Kaggle
Upgrade kf_config.json to v2 (nested config + dtype)
Browse files- kf_config.json +21 -17
kf_config.json
CHANGED
|
@@ -1,25 +1,29 @@
|
|
| 1 |
{
|
| 2 |
"library_name": "kerasformers",
|
| 3 |
-
"kerasformers_version": "1.
|
| 4 |
"model_module": "kerasformers.models.eomt",
|
| 5 |
"model_class": "EoMTUniversalSegment",
|
| 6 |
"variant": "eomt_large_coco_instance_640",
|
| 7 |
"weights": "model.weights.h5",
|
|
|
|
|
|
|
| 8 |
"model_type": "eomt",
|
| 9 |
-
"
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"library_name": "kerasformers",
|
| 3 |
+
"kerasformers_version": "1.2.1",
|
| 4 |
"model_module": "kerasformers.models.eomt",
|
| 5 |
"model_class": "EoMTUniversalSegment",
|
| 6 |
"variant": "eomt_large_coco_instance_640",
|
| 7 |
"weights": "model.weights.h5",
|
| 8 |
+
"schema_version": 2,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
"model_type": "eomt",
|
| 11 |
+
"vision_config": {
|
| 12 |
+
"hidden_dim": 1024,
|
| 13 |
+
"num_hidden_layers": 24,
|
| 14 |
+
"num_heads": 16,
|
| 15 |
+
"depths": 4,
|
| 16 |
+
"num_queries": 200,
|
| 17 |
+
"num_classes": 80,
|
| 18 |
+
"layerscale_value": 1e-05,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"num_register_tokens": 4,
|
| 21 |
+
"num_upscale_blocks": 2,
|
| 22 |
+
"mlp_ratio": 4,
|
| 23 |
+
"drop_path_rate": 0.0,
|
| 24 |
+
"attention_dropout": 0.0,
|
| 25 |
+
"use_swiglu_ffn": false,
|
| 26 |
+
"layer_norm_eps": 1e-06,
|
| 27 |
+
"image_size": 640
|
| 28 |
+
}
|
| 29 |
}
|