Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Option to return original prompts instead of phrases
Currently, LangSAM returns `phrases` which are not a 1-1 mapping back to the original text prompts specified by the caller. This update adds a `return_prompts:bool` argument to the `LangSAM` constructor, which will allow this functionality. By default, it keeps the original functionality,
- Loading branch information