Skip to content
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

loss for loss_box = 0? #18

Closed
yhw-yhw opened this issue Dec 20, 2017 · 4 comments
Closed

loss for loss_box = 0? #18

yhw-yhw opened this issue Dec 20, 2017 · 4 comments

Comments

@yhw-yhw
Copy link

yhw-yhw commented Dec 20, 2017

I1220 22:57:08.836243 26285 solver.cpp:229] Iteration 13940, loss = 6.60338
I1220 22:57:08.836273 26285 solver.cpp:245] Train net output #0: loss_bbox = 0 (* 1 = 0 loss)
I1220 22:57:08.836279 26285 solver.cpp:245] Train net output #1: loss_cls = 0.0678312 (* 1 = 0.0678312 loss)
I1220 22:57:08.836283 26285 solver.cpp:245] Train net output #2: rpn_cls_loss/p2 = 0.366679 (* 1 = 0.366679 loss)
I1220 22:57:08.836287 26285 solver.cpp:245] Train net output #3: rpn_cls_loss/p3 = 0.195475 (* 1 = 0.195475 loss)
I1220 22:57:08.836292 26285 solver.cpp:245] Train net output #4: rpn_cls_loss/p4 = 0.513616 (* 1 = 0.513616 loss)
I1220 22:57:08.836297 26285 solver.cpp:245] Train net output #5: rpn_cls_loss/p5 = 0.559214 (* 1 = 0.559214 loss)
I1220 22:57:08.836309 26285 solver.cpp:245] Train net output #6: rpn_cls_loss/p6 = 0.303023 (* 1 = 0.303023 loss)
I1220 22:57:08.836313 26285 solver.cpp:245] Train net output #7: rpn_loss_bbox/p2 = 3.02821 (* 1 = 3.02821 loss)
I1220 22:57:08.836316 26285 solver.cpp:245] Train net output #8: rpn_loss_bbox/p3 = 1.88581 (* 1 = 1.88581 loss)
I1220 22:57:08.836330 26285 solver.cpp:245] Train net output #9: rpn_loss_bbox/p4 = 0.740322 (* 1 = 0.740322 loss)
I1220 22:57:08.836334 26285 solver.cpp:245] Train net output #10: rpn_loss_bbox/p5 = 0.256244 (* 1 = 0.256244 loss)
I1220 22:57:08.836349 26285 solver.cpp:245] Train net output #11: rpn_loss_bbox/p6 = 0.278417 (* 1 = 0.278417 loss)

@unsky
Copy link
Owner

unsky commented Dec 20, 2017

in early stage of the training, proposal quality of
RPN is very pow, rcnn will very easy to overfit,

@yhw-yhw
Copy link
Author

yhw-yhw commented Dec 20, 2017

thanks, the detection loss_box is 20 interations get 0.0;
Solving...
I1220 23:44:38.681527 24759 solver.cpp:229] Iteration 0, loss = 22.1216
I1220 23:44:38.681560 24759 solver.cpp:245] Train net output #0: loss_bbox = 0.102078 (* 1 = 0.102078 loss)
I1220 23:44:38.681571 24759 solver.cpp:245] Train net output #1: loss_cls = 3.03379 (* 1 = 3.03379 loss)
I1220 23:44:38.681593 24759 solver.cpp:245] Train net output #2: rpn_cls_loss/p2 = 0.692872 (* 1 = 0.692872 loss)
I1220 23:44:38.681596 24759 solver.cpp:245] Train net output #3: rpn_cls_loss/p3 = 0.693041 (* 1 = 0.693041 loss)
I1220 23:44:38.681601 24759 solver.cpp:245] Train net output #4: rpn_cls_loss/p4 = 0.691679 (* 1 = 0.691679 loss)
I1220 23:44:38.681603 24759 solver.cpp:245] Train net output #5: rpn_cls_loss/p5 = 0.693768 (* 1 = 0.693768 loss)
I1220 23:44:38.681608 24759 solver.cpp:245] Train net output #6: rpn_cls_loss/p6 = 0.690791 (* 1 = 0.690791 loss)
I1220 23:44:38.681622 24759 solver.cpp:245] Train net output #7: rpn_loss_bbox/p2 = 7.63055 (* 1 = 7.63055 loss)
I1220 23:44:38.681625 24759 solver.cpp:245] Train net output #8: rpn_loss_bbox/p3 = 3.96652 (* 1 = 3.96652 loss)
I1220 23:44:38.681628 24759 solver.cpp:245] Train net output #9: rpn_loss_bbox/p4 = 2.42658 (* 1 = 2.42658 loss)
I1220 23:44:38.681632 24759 solver.cpp:245] Train net output #10: rpn_loss_bbox/p5 = 1.0067 (* 1 = 1.0067 loss)
I1220 23:44:38.681645 24759 solver.cpp:245] Train net output #11: rpn_loss_bbox/p6 = 0.00478587 (* 1 = 0.00478587 loss)
I1220 23:44:38.681649 24759 sgd_solver.cpp:107] Iteration 0, lr = 0.001
I1220 23:45:00.724176 24759 solver.cpp:229] Iteration 20, loss = 8.59787
I1220 23:45:00.724215 24759 solver.cpp:245] Train net output #0: loss_bbox = 0 (* 1 = 0 loss)
I1220 23:45:00.724220 24759 solver.cpp:245] Train net output #1: loss_cls = 0.0290291 (* 1 = 0.0290291 loss)
I1220 23:45:00.724225 24759 solver.cpp:245] Train net output #2: rpn_cls_loss/p2 = 0.620673 (* 1 = 0.620673 loss)
I1220 23:45:00.724238 24759 solver.cpp:245] Train net output #3: rpn_cls_loss/p3 = 0.645816 (* 1 = 0.645816 loss)

And, have you finished training, and would you share your map@0.5 on voc 2007, mine is need two days training.

@unsky
Copy link
Owner

unsky commented Dec 21, 2017

@yhw-yhw fix this bug in new codes

unsky added a commit that referenced this issue Dec 21, 2017
@yhw-yhw
Copy link
Author

yhw-yhw commented Dec 21, 2017

ok, thank you; I will try

@unsky unsky closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants