Closed meng-zha closed 3 years ago
If the box and the query box are almost the same, _rotate_iougpu() will mistakenly calculate the IoU to be zero, which is exactly to be 1. The bug occurs in the inter() function at L397 of nms_gpu.py.
you can add a small vaule like 1e-12 to avoid this.
If the box and the query box are almost the same, _rotate_iougpu() will mistakenly calculate the IoU to be zero, which is exactly to be 1. The bug occurs in the inter() function at L397 of nms_gpu.py.