Instructions to use google/owlv2-large-patch14-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlv2-large-patch14-ensemble with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlv2-large-patch14-ensemble")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlv2-large-patch14-ensemble") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlv2-large-patch14-ensemble") - Notebooks
- Google Colab
- Kaggle
Update README.md
#4
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -31,7 +31,7 @@ The model uses a CLIP backbone with a ViT-L/14 Transformer architecture as an im
|
|
| 31 |
|
| 32 |
### Use with Transformers
|
| 33 |
|
| 34 |
-
```
|
| 35 |
import requests
|
| 36 |
from PIL import Image
|
| 37 |
import torch
|
|
|
|
| 31 |
|
| 32 |
### Use with Transformers
|
| 33 |
|
| 34 |
+
```python
|
| 35 |
import requests
|
| 36 |
from PIL import Image
|
| 37 |
import torch
|