Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossBow-Vision committed Mar 31, 2022
1 parent 2359da2 commit 8574f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrcnn/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def compute_overlaps(boxes1, boxes2):
overlaps = np.zeros((boxes1.shape[0], boxes2.shape[0]))
for i in range(overlaps.shape[1]):
box2 = boxes2[i]
overlaps[:, i] = compute_iou(box2, boxes1, area2[i], area1)
overlaps[:, i] = compute_iou(box2, boxes1, area2[i], area1) # computes overlap of boxes1 with given box2
return overlaps


Expand Down

0 comments on commit 8574f0b

Please sign in to comment.