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 output #4

Open
HanYuanyuaner opened this issue Apr 24, 2018 · 2 comments
Open

nan output #4

HanYuanyuaner opened this issue Apr 24, 2018 · 2 comments

Comments

@HanYuanyuaner
Copy link

I use SE_Inception_v4.py to train the cifar10 data. The code can run normally, but the "train_loss", "train_acc", "test_loss" and "test_acc" are "nan". I try to output "batch_loss" from "_, batch_loss = sess.run([train, cost], feed_dict=train_feed_dict)", the result is "nan". Did anyone meet this problem?

@HanYuanyuaner
Copy link
Author

I am sorry, the output is like this
epoch: 1/100, train_loss: nan, train_acc: 0.1018, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0023, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000
epoch: 2/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000

@dakun333
Copy link

I have the same problem.How can I solve it

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