Duplicated from google/owlv2-large-patch14
How to use Thomasboosinger/owlv2-large-patch14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="Thomasboosinger/owlv2-large-patch14")
# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("Thomasboosinger/owlv2-large-patch14") model = AutoModelForZeroShotObjectDetection.from_pretrained("Thomasboosinger/owlv2-large-patch14")