WeiTang114 / MVCNN-TensorFlow

An Multi-View CNN (MVCNN) implementation with TensorFlow.
MIT License
120 stars 67 forks source link

Model diverged with loss = NaN #8

Open ttyang1018 opened 7 years ago

ttyang1018 commented 7 years ago

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 commented 7 years ago

I have the same problem!

foxfromworld commented 6 years ago

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

yifanfeng97 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

foxfromworld commented 6 years ago

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

ghost commented 5 years ago

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.