Skip to content

Commit 962f395

Browse files
committed
Fix typo in comment of bbox.py, correcting "corrdinates" to "coordinates" for improved clarity.
1 parent f1631c9 commit 962f395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fmpose3d/lib/yolov3/bbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def bbox_iou(box1, box2):
6666
b1_x1, b1_y1, b1_x2, b1_y2 = box1[:, 0], box1[:, 1], box1[:, 2], box1[:, 3]
6767
b2_x1, b2_y1, b2_x2, b2_y2 = box2[:, 0], box2[:, 1], box2[:, 2], box2[:, 3]
6868

69-
# get the corrdinates of the intersection rectangle
69+
# get the coordinates of the intersection rectangle
7070
inter_rect_x1 = torch.max(b1_x1, b2_x1)
7171
inter_rect_y1 = torch.max(b1_y1, b2_y1)
7272
inter_rect_x2 = torch.min(b1_x2, b2_x2)

0 commit comments

Comments
 (0)