I am calculating the evaluation metric for object detection and it seems to be very difficult to find best IoU index. I want to assign each prediction to the ground truth. How s