Open zhaozhen2333 opened 4 months ago
pred_bbox = torch.tensor([[0.3491, 1.1030, 5.3415, -0.9908]]) ego_bbox = torch.tensor([[-0.9, 1.0, 2.1, -1.0]]) overlaps = bbox_overlaps(pred_bbox, ego_bbox)
I got the result (tensor([[0]]))
from mmdet.structures.bbox import bbox_overlaps
pred_bbox = torch.tensor([[0.3491, 1.1030, 5.3415, -0.9908]]) ego_bbox = torch.tensor([[-0.9, 1.0, 2.1, -1.0]]) overlaps = bbox_overlaps(pred_bbox, ego_bbox)
I got the result (tensor([[0]]))