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

Valid loss explode after several epochs #44

Closed
Hugh0120 opened this issue Aug 1, 2019 · 4 comments
Closed

Valid loss explode after several epochs #44

Hugh0120 opened this issue Aug 1, 2019 · 4 comments

Comments

@Hugh0120
Copy link

Hugh0120 commented Aug 1, 2019

image
here is the picture of my training procedure, after several epochs' of decreasing, the valid loss suddenly exploded, did it happened to you when you were training?

@AnaRhisT94
Copy link

@Hugh0120 Hi, how did you get the model to train in the first place? I'm still struggling.
About the valid loss that suddenly exploded, try to lower the LR by a factor of 10 when getting to 20 epochs.

@Hugh0120
Copy link
Author

Hugh0120 commented Oct 8, 2019

@Hugh0120 Hi, how did you get the model to train in the first place? I'm still struggling.
About the valid loss that suddenly exploded, try to lower the LR by a factor of 10 when getting to 20 epochs.

I just trained the model from scratch

@Hugh0120
Copy link
Author

Hugh0120 commented Oct 8, 2019

@Hugh0120 Hi, how did you get the model to train in the first place? I'm still struggling.
About the valid loss that suddenly exploded, try to lower the LR by a factor of 10 when getting to 20 epochs.

btw, I change the code from keras to tf estimator and the loss decreased properly

@dehanlazuardi
Copy link

@Hugh0120 for me the validation loss is exploding from the beginning. disable the ReduceLROnPlateau(verbose=1) in keras callback will do the job.

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