Stinky-Tofu / Stronger-yolo

🔥Improve yolo with latest paper
MIT License
3 stars 0 forks source link

About GIOU code #64

Open Apostatee opened 5 years ago

Apostatee commented 5 years ago

boxes1 = tf.concat([tf.minimum(boxes1[..., :2], boxes1[..., 2:]), tf.maximum(boxes1[..., :2], boxes1[..., 2:])], axis=-1) boxes2 = tf.concat([tf.minimum(boxes2[..., :2], boxes2[..., 2:]), tf.maximum(boxes2[..., :2], boxes2[..., 2:])], axis=-1)

It seems like this code is actually doing nothing

Stinky-Tofu commented 5 years ago

@Apostatee To ensure xmin <= xmax, ymin <= ymax;