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")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlvit-base-patch16") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-base-patch16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md (#8)
- Update README.md (773d5cb82fddae262345a19a1fed115e86ea2242) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>4b420de
-
Update README.md
d3ef005 -
Update README.md
c51e657
-
Update preprocessor_config.json (#7)
- Update preprocessor_config.json (b623fb3ca0e45b39113ad8ce7ca3b02883d99e7e) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>9ce716b
-
Fix config bug (#6)
- Fix config bug (dfa29501e801fac0d96dfe80c6de1a5dbf424170) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>209b820 -
Disable inference (#4)
- Disable inference (89274da19228e9640ee049ec1cd88da6d5c5e09d) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>1b1b73b -
Fix feature extractor resizing bug (#5)
- Fix feature extractor resizing bug (9cb3acb5f711ff82a0329b5f2084d8ac7135e4eb) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>524231d
-
Update README.md (#3)
- Update README.md (9ab2d9d8cbaec92a365f72114296e556179b9710) - Update README.md (29d290da9e9fafa27aee9680b090d1e3be5cca5d) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>e532714
-
Added model and processor
Alara Dirike1ab912 -
Update config.json
Alara Dirik8936ff7
-
Update config.json
Alara Dirik487edc7
-
Update tokenizer_config.json
Alara Dirik58f158d -
Added model and processor
Alara Dirik6c817b0
-
Update config.json
Alara Dirik3b8c45f -
Update config.json
Alara Dirikd942204 -
Added model and processor
Alara Dirikfa9c4a0 -
initial commit
Alara Dirik9512b75