8000 about rpn_loss_box is zero · Issue #46 · jwyang/fpn.pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
about rpn_loss_box is zero #46
Open
@ww451575464

Description

@ww451575464

i found rpn_loss_box has always been zero, and that because bbox_outside_weights is 0.
maybe i should change
positive_weights = 1.0 / num_examples
negative_weights = 1.0 / num_examples
to
positive_weights = 1.0 / num_examples.item()
negative_weights = 1.0 / num_examples.item()
in anchor_target_layer_fpn.py line 136

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

      0