Instructions to use IDEA-Research/grounding-dino-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IDEA-Research/grounding-dino-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="IDEA-Research/grounding-dino-base")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("IDEA-Research/grounding-dino-base") model = AutoModelForZeroShotObjectDetection.from_pretrained("IDEA-Research/grounding-dino-base") - Notebooks
- Google Colab
- Kaggle
Fix "How to use" snippet
#3
by codezakh - opened
The current "How To Use Snippet" cannot be copy-pasted and executed because of two minor problems:
L31: Trailing comma on the import that causes an error in python.device is undefined
Thanks!
nielsr changed pull request status to merged