Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grounded SAM is now available in 🤗 Transformers, with an easy tutorial #486

Open
NielsRogge opened this issue Apr 13, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@NielsRogge
Copy link

Hi folks!

Since Grounding DINO and SAM are now both available in the Transformers library, one can perform Grounded Segment Anything in just a few lines of code.

Refer to the demo notebook: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/Grounding%20DINO/GroundingDINO_with_Segment_Anything.ipynb.

Full credits go to @EduardoPach

@rentainhe
Copy link
Collaborator

Thank you so much for implementing Grounded-SAM in Transformers library!

@rentainhe rentainhe added the documentation Improvements or additions to documentation label Apr 14, 2024
@rentainhe rentainhe pinned this issue Apr 14, 2024
@TikaToka
Copy link
Contributor

TikaToka commented Apr 17, 2024

Thank you! But is it required to always put prompt (label) ?

@EduardoPach
Copy link

Thank you! But is it required to always put prompt (label) ?

In the aforementioned tutorial, yes you need. As we don't have a previous tagging stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants