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

For training images with all 0 labels, change made in box_utils.hard_negative_mining. #159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ta012
Copy link

@ta012 ta012 commented Jul 15, 2021

Currently images with all 0 labels are not used in loss calculation. So change made in box_utils.hard_negative_mining to accommodate images with all 0 labels. The idea is that 0 is considered only in classification loss, not in bbox regression loss.
A batch should contain at least one positive label.

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

Successfully merging this pull request may close these issues.

None yet

1 participant