Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Grounding DINO module for use with Autodistill.

License

NotificationsYou must be signed in to change notification settings

autodistill/autodistill-grounding-dino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autodistill Grounding DINO Module

This repository contains the code supporting the Grounding DINO base model for use withAutodistill.

Grounding DINO is a zero-shot object detection model developed by IDEA Research. You can distill knowledge from Grounding DINO into a smaller model using Autodistill.

Read theGrounding DINO Autodistill documentation.

Tip

You can use Autodistill Grounding DINO on your own hardware, or use theRoboflow hosted version of Autodistill to label images in the cloud.

Installation

To use the Grounding DINO base model, you will need to install the following dependency:

pip3 install autodistill autodistill-yolov8 autodistill-grounding-dino

Quickstart

fromautodistill_grounding_dinoimportGroundingDINOfromautodistill.detectionimportCaptionOntologyfromautodistill_yolov8importYOLOv8# define an ontology to map class names to our GroundingDINO prompt# the ontology dictionary has the format {caption: class}# where caption is the prompt sent to the base model, and class is the label that will# be saved for that caption in the generated annotations# then, load the modelbase_model=GroundingDINO(ontology=CaptionOntology({"shipping container":"container"}))# label all images in a folder called `context_images`base_model.label("./context_images",extension=".jpeg")

License

The code in this repository is licensed under anApache 2.0 license.

🏆 Contributing

We love your input! Please see the core Autodistillcontributing guide to get started. Thank you 🙏 to all our contributors!

About

Grounding DINO module for use with Autodistill.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp