-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix mrcnn_bbox_loss #1220
base: master
Are you sure you want to change the base?
fix mrcnn_bbox_loss #1220
Conversation
@keineahnung2345 I couldn't find that reference in the paper! Can you point me to the specific section? Also, please see my comments on #786 . I think we do need to update the SmoothL1 loss, but probably not in this particular way. |
I am referring to the following formula in Fast R-CNN: |
@keineahnung2345 thanks for looking at the issue. The Fast-RCNN one (mrcnn_bbox_loss) which you first commit did correct. The Faster-RCNN one (rpn_bbox_loss) which @waleedka mentioned in #786 (where the denominator is Nreg). So I believe the first commit was the correct one. |
@jnd77 You are right. I will revert to the first version after @waleedka confirm it.
In which [12] links to Fast R-CNN. |
Hi @keineahnung2345 ! |
@keineahnung2345 , I modified it as you proposed, but got error:
|
According to #786 and the paper of Fast R-CNN, L_loc should be the sum of smooth_l1_loss of its four items.