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 Loss during training MNIST dataset #10

Closed
mmderakhshani opened this issue Jul 4, 2020 · 2 comments
Closed

Nan Loss during training MNIST dataset #10

mmderakhshani opened this issue Jul 4, 2020 · 2 comments

Comments

@mmderakhshani
Copy link

Hi. First of all, I have to appreciate regarding your great implementation.

During training on MNIST dataset using the following command, I found nan:
Screenshot (395)

Could you please explain to me am I doing something wrong? I just ran following command:

python train_mnist.py 0
@brjathu
Copy link
Owner

brjathu commented Jul 17, 2020

It seems a problem in the code. I will check on that, meanwhile, You can stop after getting NAN,
and run python train_mnist.py 3
it will start from session 3 and after the restart, it seems working fine.

@mmderakhshani
Copy link
Author

Thanks for the reply and thanks for the suggestion.

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