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

Model diverged with loss = NaN #8

Open
ttyang1018 opened this issue Jul 27, 2017 · 7 comments
Open

Model diverged with loss = NaN #8

ttyang1018 opened this issue Jul 27, 2017 · 7 comments

Comments

@ttyang1018
Copy link

Hi there,

I manually generated the 12 views of each airplane and bathtub png image, and train with them. But I encountered following model diverged problem.

image

Could someone help me out of this?

@yifanfeng97
Copy link

I have the same problem!

@foxfromworld
Copy link

Hi...
I wonder if this problem has been solved??
I have encountered the same problem...

@yifanfeng97
Copy link

I have solved my nan problem. My reason is that my dataset is converted from MVCNN(MATLAB code). The label in MATLAB is in range 1 and 40. So I reduced 1 on label converting it into range 0 and 39.

@foxfromworld
Copy link

Thank you so much for your quick response!
May I ask what the labels are? Type of objects?
I am sorry...I am very new to NN...
Thank you again!

@yifanfeng97
Copy link

yes, the label is a number to represent the name of objects in training.

@foxfromworld
Copy link

Thanks a million. Really appreciate your help!
I will try to change the way I feed the data and see if it works!

@ghost
Copy link

ghost commented Jun 6, 2019

I have solved my nan problem. My reason is that my dataset is converted from MVCNN(MATLAB code). The label in MATLAB is in range 1 and 40. So I reduced 1 on label converting it into range 0 and 39.

Thanks a lot. I solved this by your comment. The reason is when I processed the data, I labeled the categories from 1 to 40. Changing them back to 0 to 39 fixes this problem.

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