Zero-Shot Object Detection
KerasFormers
Keras
PyTorch
JAX
TensorFlow
owlv2
open-vocabulary
object-detection
Instructions to use zeromodels/owlv2-base-patch16-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/owlv2-base-patch16-ensemble 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/owlv2-base-patch16-ensemble 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/owlv2-base-patch16-ensemble") - Notebooks
- Google Colab
- Kaggle
Upload kf_config.json with huggingface_hub
Browse files- kf_config.json +23 -0
kf_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"library_name": "kerasformers",
|
| 3 |
+
"kerasformers_version": "1.1.3",
|
| 4 |
+
"model_module": "kerasformers.models.owlv2",
|
| 5 |
+
"model_class": "Owlv2Detect",
|
| 6 |
+
"variant": "owlv2-base-patch16-ensemble",
|
| 7 |
+
"weights": "model.weights.h5",
|
| 8 |
+
"model_type": "owlv2",
|
| 9 |
+
"vision_image_size": 960,
|
| 10 |
+
"vision_patch_size": 16,
|
| 11 |
+
"vision_hidden_dim": 768,
|
| 12 |
+
"vision_intermediate_size": 3072,
|
| 13 |
+
"vision_num_layers": 12,
|
| 14 |
+
"vision_num_heads": 12,
|
| 15 |
+
"text_hidden_dim": 512,
|
| 16 |
+
"text_intermediate_size": 2048,
|
| 17 |
+
"text_num_heads": 8,
|
| 18 |
+
"projection_dim": 512,
|
| 19 |
+
"text_num_layers": 12,
|
| 20 |
+
"text_max_position_embeddings": 16,
|
| 21 |
+
"text_vocab_size": 49408,
|
| 22 |
+
"image_size": null
|
| 23 |
+
}
|