The GIoU loss becomes NaN when the gt boxes and predicted boxes are both decoded in center and size (xc, yc, w, h). I am wondering if the boxes have to decoded in two corners (x1, y1, x2, y2).