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

training loss error: inf #2

Closed
jxlijunhao opened this issue Feb 2, 2018 · 8 comments
Closed

training loss error: inf #2

jxlijunhao opened this issue Feb 2, 2018 · 8 comments

Comments

@jxlijunhao
Copy link

jxlijunhao commented Feb 2, 2018

I follow the steps in the readme, but it occurs trainning loss error, the trainning locatization loss
the logs:

1 Epoch:1 || epochiter: 0/517|| Totel iter 0 || L: inf C: 23.2587||Batch time: 16.6584 sec. ||LR: 0.00000100
2 Epoch:1 || epochiter: 10/517|| Totel iter 10 || L: inf C: 19.0657||Batch time: 0.8695 sec. ||LR: 0.00001647
3 Epoch:1 || epochiter: 20/517|| Totel iter 20 || L: inf C: 16.3741||Batch time: 0.9224 sec. ||LR: 0.00003194
4 Epoch:1 || epochiter: 30/517|| Totel iter 30 || L: inf C: 14.5374||Batch time: 0.8792 sec. ||LR: 0.00004741

@lzx1413
Copy link
Owner

lzx1413 commented Feb 2, 2018

which model are you training?

@manlinting
Copy link

I encountered the same problem with RFB_mobile 300.

@lzx1413
Copy link
Owner

lzx1413 commented Mar 15, 2018

I will update the mobilenet models without pyinn in a few days, please stay tuned.

@manlinting
Copy link

I tested the other network, the same problem. Is it related to my use of python2.7?

@lzx1413
Copy link
Owner

lzx1413 commented Mar 16, 2018

It only support python3 now, the prior box generation needs the division in python3, you may solve this problem with using from __future__ import division.

@manlinting
Copy link

after from future import division, I have solve this problem.thank you very much! Another question, can you help to support mobilenetv2?

@lzx1413
Copy link
Owner

lzx1413 commented Mar 20, 2018

@manlinting https://github.com/ShuangXieIrene/ssds.pytorch there is an another pytorch ssd including mobilentv2

@manlinting
Copy link

thanks!

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

3 participants