We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1631c9 commit 962f395Copy full SHA for 962f395
1 file changed
fmpose3d/lib/yolov3/bbox.py
@@ -66,7 +66,7 @@ def bbox_iou(box1, box2):
66
b1_x1, b1_y1, b1_x2, b1_y2 = box1[:, 0], box1[:, 1], box1[:, 2], box1[:, 3]
67
b2_x1, b2_y1, b2_x2, b2_y2 = box2[:, 0], box2[:, 1], box2[:, 2], box2[:, 3]
68
69
- # get the corrdinates of the intersection rectangle
+ # get the coordinates of the intersection rectangle
70
inter_rect_x1 = torch.max(b1_x1, b2_x1)
71
inter_rect_y1 = torch.max(b1_y1, b2_y1)
72
inter_rect_x2 = torch.min(b1_x2, b2_x2)
0 commit comments