leeyoshinari / YOLO_v2

The implementation of YOLO v2 with TensorFlow
GNU General Public License v3.0
80 stars 38 forks source link

pascal_voc #10

Closed Atubee closed 6 years ago

Atubee commented 6 years ago

@leeyoshinari Hello, I don understand line71-74 in pascal_voc.py. Why the boxes[0] and boxes[1] is added "-np.floor(cx)" and "-np.floor(cy)"?

In yolo_v2.py, The boxes[0] and boxes[1] is not added offset, but box_coor_trans is added offsets. Is this not problem? I think this causes problems in iou calculations.

Please, teach me!

leeyoshinari commented 6 years ago

You are right, I have tried. Thank you for helping me improve.