Skip to content

Commit

Permalink
Updated INF to 100000.0 to be in line with original YOLOX implementat…
Browse files Browse the repository at this point in the history
…ion. (#7778)
  • Loading branch information
jovialio authored Apr 22, 2022
1 parent 3e26931 commit c72bc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/core/bbox/assigners/sim_ota_assigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _assign(self,
Returns:
:obj:`AssignResult`: The assigned result.
"""
INF = 100000000
INF = 100000.0
num_gt = gt_bboxes.size(0)
num_bboxes = decoded_bboxes.size(0)

Expand Down

0 comments on commit c72bc70

Please sign in to comment.