Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

is the loss_conf right in loss function? #35

Open
Hsintao opened this issue Nov 11, 2018 · 2 comments
Open

is the loss_conf right in loss function? #35

Hsintao opened this issue Nov 11, 2018 · 2 comments

Comments

@Hsintao
Copy link

Hsintao commented Nov 11, 2018

Thanks for your work.
i have a question.
loss_conf = .. + 0.5 * self.bce_loss(conf*noobj_mask,0)
why there is a zero?
shouldn't it beloss_conf = .. + 0.5 * self.bce_loss(conf*noobj_mask,tconf*noobj_mask)?
@BobLiu20
And for classification, why dont use a CrossEntropyLoss?

@beckhamchen
Copy link

The same doubt with you

@zhaoyang10
Copy link

The tconf of noobj is 0

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

No branches or pull requests

3 participants