Closed SohamTamba closed 4 years ago
In th CoCo dataset, the annotations in this line bboxes[:, 2:] += bboxes[:, :2] # xywh to xyxy might be wrong. According to that line.
bboxes[:, 2:] += bboxes[:, :2] # xywh to xyxy
x_right = x_left + width y_bottom = y_top + height
Shouldn't it be y_bottom = y_top - height?
y_bottom = y_top - height
Link: https://github.com/zzzxxxttt/pytorch_simple_CornerNet/blob/767bf0af3229d9ffc1679aebdbf5eb05671bbc75/datasets/coco.py#L103
This is because the axis origin of an image is at the top-left corner, just like a numpy array
In th CoCo dataset, the annotations in this line
bboxes[:, 2:] += bboxes[:, :2] # xywh to xyxy
might be wrong. According to that line.Shouldn't it be
y_bottom = y_top - height
?Link: https://github.com/zzzxxxttt/pytorch_simple_CornerNet/blob/767bf0af3229d9ffc1679aebdbf5eb05671bbc75/datasets/coco.py#L103