Instructions to use google/owlv2-base-patch16-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlv2-base-patch16-ensemble with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlv2-base-patch16-ensemble")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlv2-base-patch16-ensemble") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlv2-base-patch16-ensemble") - Notebooks
- Google Colab
- Kaggle
Outdated code, bboxes were scaled incorrectly
#5
by danielbogdoll - opened
No description provided.
@dbogdollumich , Hi, I'm also looking for zero-short object detection model, so after your testing, the current codes do not work, right?
I found another mode. https://huggingface.co/IDEA-Research/grounding-dino-base
@nielsr Hi, sorry that I did not try it. I just found this model and noticed the comment from @dbogdollumich. I'll give it a try. Thank you very much.
danielbogdoll changed pull request status to closed