Closed dolhasz closed 4 months ago
Currently, LangSAM returns phrases which are not a 1-1 mapping back to the original text prompts specified by the caller.
phrases
This update adds a return_prompts:bool argument to the LangSAM constructor, which will allow this functionality.
return_prompts:bool
LangSAM
By default, it keeps the original functionality.
Describe your changes and approach used
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 theLangSAM
constructor, which will allow this functionality.By default, it keeps the original functionality.
Checklist before requesting a review