Skip to content

Commit

Permalink
Include scores in the G-SAM model response
Browse files Browse the repository at this point in the history
  • Loading branch information
AsiaCao committed Apr 4, 2024
1 parent b1f7bdc commit 8589f93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def __call__(self, prompt: str, image: Union[str, ImageType]) -> Dict:
for mask in data["masks"]
]
ret_pred["labels"] = data["labels"]
ret_pred["scores"] = data["scores"]
return ret_pred


Expand Down

0 comments on commit 8589f93

Please sign in to comment.