未验证 提交 2eceb345 编写于 作者: E EKELE-NNOROM 提交者: GitHub

Update bbox_transform.py

上级 358cecac
......@@ -245,7 +245,8 @@ def bbox_overlaps_batch(anchors, gt_boxes):
torch.max(boxes[:,:,:,1], query_boxes[:,:,:,1]) + 1)
ih[ih < 0] = 0
ua = anchors_area + gt_boxes_area - (iw * ih)
# Intersection (iw * ih) divided by Union (ua)
overlaps = iw * ih / ua
# mask the overlap here.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册