Skip to content

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

@vikram-gupta

Description

@vikram-gupta

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions