second_ros
second_ros copied to clipboard
Help!2d IOU error
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
Is this something I'm using or is there something wrong with the code itself?I look forward to receiving your reply