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

NaN for loss function, stagnant accuracy #2

Open
priyanshuwustl opened this issue Aug 2, 2018 · 0 comments
Open

NaN for loss function, stagnant accuracy #2

priyanshuwustl opened this issue Aug 2, 2018 · 0 comments

Comments

@priyanshuwustl
Copy link

I am running the code with the same dataset. However, for some reason the loss function is coming out to be NaN and the accuracy on train and validation sets is also constant. This is after running 10 epochs. I am assuming that if loss function is not defined then no minimization can take place and that is why it is constant.

The only change that I made is that in add_noise, I typecasted batch to int because it was throwing an error that indexed should be integer values.

On displaying the noisy images, it is just showing white_space mostly. Is that correct or is that also maybe a part of the 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

1 participant