fpn.pytorch icon indicating copy to clipboard operation
fpn.pytorch copied to clipboard

about rpn_loss_box is zero

Open ww451575464 opened this issue 5 years ago • 0 comments

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

ww451575464 avatar Sep 07 '19 08:09 ww451575464