Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions sahi/postprocess/combine.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,10 @@ def greedy_nmm(
Args:
object_predictions_as_tensor: (tensor) The location preds for the image
along with the class predscores, Shape: [num_boxes,5].
object_predictions_as_list: ObjectPredictionList Object prediction objects
to be merged.
match_metric: (str) IOU or IOS
match_threshold: (float) The overlap thresh for
match metric.
match_threshold: (float) The overlap thresh for match metric.
Returns:
keep_to_merge_list: (Dict[int:List[int]]) mapping from prediction indices
keep_to_merge_list: (dict[int, list[int]]) mapping from prediction indices
to keep to a list of prediction indices to be merged.
"""
keep_to_merge_list = {}
Expand Down