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

SSDLoss with hard negative mining #53

Open
sandylaker opened this issue Jul 2, 2019 · 0 comments
Open

SSDLoss with hard negative mining #53

sandylaker opened this issue Jul 2, 2019 · 0 comments

Comments

@sandylaker
Copy link

In the implementation of the SSDLoss, the cls_loss of the negative anchors were set to 0,
but later you sum cls[pos|neg]. This is the same as cls[pos], since the loss of all the negative anchors were neglected. So maybe cls_loss[cls_targets<0] = 0 is redundant? The negative mining has already generated a mask that only takes a part of negative anchors into account. Or did I understand wrongly?

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

1 participant