Zero-Shot Object Detection
KerasFormers
Keras
PyTorch
JAX
TensorFlow
owlv2
open-vocabulary
object-detection
Instructions to use zeromodels/owlv2-base-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/owlv2-base-patch16 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 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") - Notebooks
- Google Colab
- Kaggle
File size: 716 Bytes
c3802dd 85926d5 c3802dd 85926d5 040dc16 c3802dd 85926d5 c3802dd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"model_module": "kerasformers.models.owlv2",
"model_class": "Owlv2Detect",
"variant": "owlv2-base-patch16",
"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
} |