TensorFlow-2.x-YOLOv3 icon indicating copy to clipboard operation
TensorFlow-2.x-YOLOv3 copied to clipboard

ciou_enclose_area

Open lihualilee opened this issue 4 years ago • 1 comments

image left and up why not tf.minimum()?why mot computer minimum is compute enclose_area? left = tf.maximum(boxes1_coor[..., 0], boxes2_coor[..., 0]) up = tf.maximum(boxes1_coor[..., 1], boxes2_coor[..., 1])

lihualilee avatar Aug 09 '21 14:08 lihualilee

Unfortunately, this was not used in a code yet.

But you can see that we use: left - [..., 0], up - [..., 1] ...

    left = tf.maximum(boxes1_coor[..., 0], boxes2_coor[..., 0])
    up = tf.maximum(boxes1_coor[..., 1], boxes2_coor[..., 1])
    right = tf.maximum(boxes1_coor[..., 2], boxes2_coor[..., 2])
    down = tf.maximum(boxes1_coor[..., 3], boxes2_coor[..., 3])

this is why we use maximum

pythonlessons avatar Oct 06 '21 12:10 pythonlessons