We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can SAMed accept prompts to generate masks? If yes, how can it be done?
The text was updated successfully, but these errors were encountered:
I don't see why it wouldn't be able to accept prompts. Simply modify the code in sam.py.
sam.py
sparse_embeddings, dense_embeddings = self.prompt_encoder( points=None, boxes=None, masks=None )
You would probably have to retrain it, as the authors used default embeddings from the image during training I believe.
@hitachinsk lmk if this is correct.
Sorry, something went wrong.
Quite interested in this issue, will the SAMed be used under a prompt-able scenario?
Thanks,
No branches or pull requests
Can SAMed accept prompts to generate masks? If yes, how can it be done?
The text was updated successfully, but these errors were encountered: