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

Should I call model:clearState() before/after saving/loading a RNN model? #223

Open
vikram-gupta opened this issue May 3, 2018 · 0 comments

Comments

@vikram-gupta
Copy link

vikram-gupta commented May 3, 2018

Hi,

I trained a LSTM model and got a decent validation accuracy after few epochs.

However, I am not very clear with the correct way to store/restore the states of LSTM. What is the correct sequence of steps to follow?

Should I call model:clearState() before saving the model and also after loading the model for evaluation?

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