yolov3-tf2 icon indicating copy to clipboard operation
yolov3-tf2 copied to clipboard

xy_loss的损失函数对应darknet 源码应该是 K.binary_crossentropy(true_xy - pred_xy)

Open luogantt opened this issue 3 years ago • 1 comments

    xy_loss = obj_mask * box_loss_scale * \
        tf.reduce_sum(tf.square(true_xy - pred_xy), axis=-1)

luogantt avatar Jun 22 '21 09:06 luogantt

求导后的结果是一样的

ZXTFINAL avatar Mar 23 '22 03:03 ZXTFINAL