Skip to content

Hard Negative Mining problem #121

@ghost

Description

multibox_loss.py
-->num_neg = torch.clamp(self.negpos_ratio * num_pos, max=pos.size(1) - 1)

If positive is 0, negative is also 0, which hinders negative learning and causes over-detection. I think it is correct to set a fixed minimum value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions