Skip to content

Commit c72bc70

Browse files
authored
Updated INF to 100000.0 to be in line with original YOLOX implementation. (#7778)
1 parent 3e26931 commit c72bc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/core/bbox/assigners/sim_ota_assigner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _assign(self,
119119
Returns:
120120
:obj:`AssignResult`: The assigned result.
121121
"""
122-
INF = 100000000
122+
INF = 100000.0
123123
num_gt = gt_bboxes.size(0)
124124
num_bboxes = decoded_bboxes.size(0)
125125

0 commit comments

Comments
 (0)