longcw / faster_rcnn_pytorch

Faster RCNN with PyTorch
MIT License
1.71k stars 466 forks source link

Only set bbox_inside_weights=1 to the positive anchors in the file: bbox_transform.py #65

Open zztant opened 6 years ago

zztant commented 6 years ago

In the file: bbox_transform.py, you only set bbox_inside_weights=1 to the positive anchors. Why used the bbox_inside_weights and bbox_outside_weights? The original paper did not mention them. And, because of bbox_inside_weights, it seems that there will be something wrong when calculate the _smooth_l1_loss in RPN loss.