Zero-Shot Object Detection
KerasFormers
Keras
PyTorch
JAX
TensorFlow
owlv2
open-vocabulary
object-detection
Instructions to use zeromodels/owlv2-base-patch16-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/owlv2-base-patch16-finetuned 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-finetuned 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-finetuned") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "kerasformers", | |
| "kerasformers_version": "1.2.1", | |
| "model_module": "kerasformers.models.owlv2", | |
| "model_class": "Owlv2Detect", | |
| "variant": "owlv2-base-patch16-finetuned", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "weight_dtype": "float32", | |
| "model_type": "owlv2", | |
| "text_config": { | |
| "hidden_dim": 512, | |
| "intermediate_size": 2048, | |
| "num_heads": 8, | |
| "num_layers": 12, | |
| "max_position_embeddings": 16, | |
| "vocab_size": 49408 | |
| }, | |
| "vision_config": { | |
| "image_size": 960, | |
| "patch_size": 16, | |
| "hidden_dim": 768, | |
| "intermediate_size": 3072, | |
| "num_layers": 12, | |
| "num_heads": 12 | |
| }, | |
| "projection_dim": 512, | |
| "image_size": null | |
| } |