Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

google
/
owlvit-base-patch16

Zero-Shot Object Detection
Transformers
PyTorch
owlvit
vision
Model card Files Files and versions
xet
Community
9

Instructions to use google/owlvit-base-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/owlvit-base-patch16 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-object-detection", model="google/owlvit-base-patch16")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection
    
    processor = AutoProcessor.from_pretrained("google/owlvit-base-patch16")
    model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-base-patch16")
  • Notebooks
  • Google Colab
  • Kaggle
owlvit-base-patch16
613 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 17 commits
lysandre's picture
lysandre HF Staff
merve's picture
merve HF Staff
Update README.md (#8)
4b420de over 2 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    5.15 kB
    Update README.md (#8) over 2 years ago
  • config.json
    4.42 kB
    Update config.json almost 4 years ago
  • merges.txt
    525 kB
    Added model and processor almost 4 years ago
  • preprocessor_config.json
    392 Bytes
    Update preprocessor_config.json (#7) over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch.LongStorage"

    What is a pickle import?

    611 MB
    xet
    Added model and processor almost 4 years ago
  • special_tokens_map.json
    460 Bytes
    Added model and processor almost 4 years ago
  • tokenizer_config.json
    775 Bytes
    Update tokenizer_config.json almost 4 years ago
  • vocab.json
    1.06 MB
    Added model and processor almost 4 years ago