Instructions to use upfeatmediainc/owlv2-base-patch16-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use upfeatmediainc/owlv2-base-patch16-ensemble with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="upfeatmediainc/owlv2-base-patch16-ensemble")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("upfeatmediainc/owlv2-base-patch16-ensemble") model = AutoModelForZeroShotObjectDetection.from_pretrained("upfeatmediainc/owlv2-base-patch16-ensemble", device_map="auto") - Notebooks
- Google Colab
- Kaggle
James Brown commited on
Commit ·
c339da5
1
Parent(s): 69b81b2
fix requirements
Browse files- .gitignore +1 -0
- requirements.txt +1 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.idea
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
transformers @ git+https://github.com/huggingface/transformers@V4.35.0
|