second_ros icon indicating copy to clipboard operation
second_ros copied to clipboard

Help!2d IOU error

Open sumenpuyuan opened this issue 5 years ago • 0 comments

in https://github.com/cedricxie/second_ros/blob/master/src/second_ros/second/second/core/non_max_suppression/nms_gpu.py I test the following code

if __name__ == "__main__":
    import numpy as np
    box1 = np.array([[0,0,20,20,-0.1]])
    box2 = np.array([[0,0,20,20,-0.1]])
    print(rotate_iou_gpu(box1, box2))

Obviously it should print 1,but terminal shows image Is this something I'm using or is there something wrong with the code itself?I look forward to receiving your reply

sumenpuyuan avatar Jun 24 '19 02:06 sumenpuyuan