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

different loss functions for loss_xy and loss_wh #71

Open
love2learn-7179 opened this issue May 26, 2020 · 1 comment
Open

different loss functions for loss_xy and loss_wh #71

love2learn-7179 opened this issue May 26, 2020 · 1 comment

Comments

@love2learn-7179
Copy link

love2learn-7179 commented May 26, 2020

May I ask why you use F.binary_cross_entropy for loss_xy while you use F.mse_loss for loss_wh?
And, (1) why did you divide by 2 for loss_wh? (you didn't divide by 2 for loss_xy)
(2) I thought that yolov4 uses CIoU loss for bbox regression (x, y, w, h), no?

Thank you for your help.

@Sooryakiran
Copy link

Hi. Same doubt here. Please let me know if you have any extra information regarding the same.

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