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

Iteration 80, loss = nan, Training on Imagenet #399

Closed
xiangyangli-cn opened this issue May 8, 2014 · 2 comments
Closed

Iteration 80, loss = nan, Training on Imagenet #399

xiangyangli-cn opened this issue May 8, 2014 · 2 comments

Comments

@xiangyangli-cn
Copy link

I0508 12:39:32.293411 2763 net.cpp:166] Network initialization done.
I0508 12:39:32.293421 2763 net.cpp:167] Memory required for Data 210114408
I0508 12:39:32.293454 2763 solver.cpp:36] Solver scaffolding done.
I0508 12:39:32.293479 2763 solver.cpp:47] Solving CaffeNet
I0508 12:40:15.421900 2763 solver.cpp:208] Iteration 40, lr = 0.01
I0508 12:40:15.422210 2763 solver.cpp:65] Iteration 40, loss = 6.99261
I0508 12:40:46.141950 2763 solver.cpp:208] Iteration 80, lr = 0.01
I0508 12:40:46.142240 2763 solver.cpp:65] Iteration 80, loss = nan
I0508 12:41:18.104593 2763 solver.cpp:208] Iteration 120, lr = 0.01
I0508 12:41:18.104933 2763 solver.cpp:65] Iteration 120, loss = nan
I0508 12:41:49.053544 2763 solver.cpp:208] Iteration 160, lr = 0.01
I0508 12:41:49.053845 2763 solver.cpp:65] Iteration 160, loss = nan
what's is the problem?? Anyone can help me?

@tdomhan
Copy link
Contributor

tdomhan commented May 10, 2014

@jeffdonahue, I wonder if this is in any way related to #393. There's also an issue about getting a nan, however much earlier in the process and it looks like your loss is just taking off, to infinity. Did you try a smaller learning rate?

@shelhamer
Copy link
Member

Closing as this couldn't be reproduced. If you are trying to fit training into a smaller device see #430.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants