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

Why do we need to extract the language embeddings first? #51

Open
redagavin opened this issue Nov 7, 2024 · 1 comment
Open

Why do we need to extract the language embeddings first? #51

redagavin opened this issue Nov 7, 2024 · 1 comment

Comments

@redagavin
Copy link

Hi, I don't know why we need to extract the language embeddings first. Doesn't it work like we give box prompts and images and then the model outputs segmentation masks and labels? Why we need language embeddings? How does it work with the model?

@HarborYuan
Copy link
Owner

Hi @redagavin ,

The language embeddings serve as a "dictionary." During the inference, a visual embedding will be extracted to match the "dictionary." You can refer to the code and paper for details. Please let me know if you have any other questions.

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

No branches or pull requests

2 participants