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

Why is the Prediction results all Nan? #8

Closed
hydxqing opened this issue Dec 18, 2018 · 3 comments
Closed

Why is the Prediction results all Nan? #8

hydxqing opened this issue Dec 18, 2018 · 3 comments

Comments

@hydxqing
Copy link

After training, I saved the model parameters of NetS, and then the segmentation prediction is carried out with NetS model. Why is the result all Nan?

@YuanXue1993
Copy link
Owner

Maybe try with different learning rate? Are you using your own data?

@hydxqing
Copy link
Author

Yes, I use my own data. Loss during training has generally been very small and shows large and small.What's the matter?

@YuanXue1993
Copy link
Owner

What do you mean by "shows large and small"? I suggest you start w/o the adversarial loss (e.g., use the generator with cross-entropy loss) to see if there are any bugs in the code. After running smoothly, you can move to the adversarial training.

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