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

Mean and standard deviation comes NAN #14

Closed
maulikjethva opened this issue Apr 28, 2018 · 1 comment
Closed

Mean and standard deviation comes NAN #14

maulikjethva opened this issue Apr 28, 2018 · 1 comment

Comments

@maulikjethva
Copy link

Hi Astorfi,

Your paper is awesome.
I am trying to train speech data using 3D CNN.
I have prepared data according to mention in paper. but during development phase I am getting mean and standard deviation "nan" in each epoch.
I am getting following output:

Epoch 1, Minibatch 1 of 3 , Minibatch Loss= 2.1972, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 2 of 3 , Minibatch Loss= 2.2215, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 3 of 3 , Minibatch Loss= 2.2637, TRAIN ACCURACY= 0.000
TESTING after finishing the training on: epoch 1
Test Accuracy 1, Mean= nan, std= nan

Can you please help me, why am I getting this problem?

@astorfi
Copy link
Owner

astorfi commented Apr 28, 2018

@maulikjethva Thank you for your kind words ... The mean and std are simply the mean and standard deviation of the accuracy per batch. Please make sure that the accuracy calculations are correct. Can you tell me what is the value of test_accuracy_vector?

@astorfi astorfi closed this as completed May 13, 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