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