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

How to use masks prompt #792

Open
wu2233 opened this issue Nov 13, 2024 · 0 comments
Open

How to use masks prompt #792

wu2233 opened this issue Nov 13, 2024 · 0 comments

Comments

@wu2233
Copy link

wu2233 commented Nov 13, 2024

Hello, I hope to use a binary image (with a shape of 320, 480) as masks prompt input into the prompt_encoder. I have transformed it into (1, 1, 320, 480), but the dense_embedding output by the prompt_encoder cannot be input into the mask_decoder. I would like to know what processing I need to do to this binary image so that it can become a masks prompt.

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

1 participant