Closed JoyHuYY1412 closed 5 years ago
bbox_loss
is only for fg rois, and at the beginning when RPN is not well trained there are not many fg rois.
bbox_loss
is only for fg rois, and at the beginning when RPN is not well trained there are not many fg rois.
So do you mean the loss is calculated among the fg rois but averaged between all the fg and bg rois?
@JoyHuYY1412 yes, see here: https://github.com/uber-research/UPSNet/blob/master/upsnet/models/rcnn.py#L187
I found that the bounding box regression loss at first of your code is really small, like of ~0.1 scale. Could you give me some explanation?