Unverified Commit f408e7ac authored by myhloli's avatar myhloli Committed by GitHub

Merge pull request #104 from icecraft/fix/update_remove_overlap

fix: error return typo
parents fe34b1a2 d5998149
...@@ -64,7 +64,7 @@ def _remove_overlap_between_bboxes(arr): ...@@ -64,7 +64,7 @@ def _remove_overlap_between_bboxes(arr):
else: else:
if v["score"] > res[i]["score"]: if v["score"] > res[i]["score"]:
keeps[i] = False keeps[i] = False
res[i] = False res[i] = None
else: else:
keeps[idx] = False keeps[idx] = False
drop_reasons.append(drop_reasons) drop_reasons.append(drop_reasons)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment