Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luogantt opened this issue Jun 22, 2021 · 1 comment

Comments

@luogantt
Copy link

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

求导后的结果是一样的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants