Instructions to use fxmarty/owlvit-tiny-non-contiguous-weight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fxmarty/owlvit-tiny-non-contiguous-weight with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="fxmarty/owlvit-tiny-non-contiguous-weight")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("fxmarty/owlvit-tiny-non-contiguous-weight") model = AutoModelForZeroShotObjectDetection.from_pretrained("fxmarty/owlvit-tiny-non-contiguous-weight") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 1 year ago
by
SFconvertbot