Open jiangfeizi opened 2 years ago
top is cpu.
I have also encountered this issue, and it seems it's a problem with order_corners function. NVIDIA's IoU implementation expects corners to be ordered in a counter-clockwise direction, but it fails on some occasions, especially in thin objects where the two leftmost corners might be above the rightmost corners.
I tried modifying the function to order the corners using a center point and calculating the angle. It fixes the inference performance, giving a similar mAP to the CPU implementation, but the training in turn has very bad performance.
I'll edit this message if I find a better solution.
I have also encountered this issue recently, have you fixed this issue? @jiangfeizi @kuu22
@XinzeLee this issue may be a bug, I have also encountered this issue recently, how should this problem be solved? I would really appreciate you answering that question, thank you!