Instructions to use google/owlvit-base-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlvit-base-patch16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlvit-base-patch16")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlvit-base-patch16") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-base-patch16") - Notebooks
- Google Colab
- Kaggle
Alara Dirik commited on
Commit ·
8936ff7
1
Parent(s): 487edc7
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -130,6 +130,7 @@
|
|
| 130 |
"num_attention_heads": 12,
|
| 131 |
"num_beam_groups": 1,
|
| 132 |
"num_beams": 1,
|
|
|
|
| 133 |
"num_hidden_layers": 12,
|
| 134 |
"num_return_sequences": 1,
|
| 135 |
"output_attentions": false,
|
|
|
|
| 130 |
"num_attention_heads": 12,
|
| 131 |
"num_beam_groups": 1,
|
| 132 |
"num_beams": 1,
|
| 133 |
+
"num_channels": 3,
|
| 134 |
"num_hidden_layers": 12,
|
| 135 |
"num_return_sequences": 1,
|
| 136 |
"output_attentions": false,
|