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

Support for storing models from N last epochs and decoding with those models. #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

curly1
Copy link

@curly1 curly1 commented Mar 4, 2019

User can define number of models to store from n_mdls_store last epochs, controlled with n_mdls_store option in a config file. After training, user can decide to decode with the model stored prior to the final iteration, similarly to the iter option in Kaldi decoding scripts. This can be done with ep_to_decode option. Epoch indexing starts from 0, so to match e.g. the res.res file, here indexing also starts from 0. This means that if the training is for 5 epochs, and we'll set ep_to_decode to 4, the final model will be used. If the ep_to_decode option is left empty, the final model will be used. A separate decoding directory will be created for each ep_to_decode.
Maybe changing epoch indexing to start from 1 throughout the code would be less confusing?

@mravanelli
Copy link
Owner

mravanelli commented Mar 4, 2019 via email

@curly1
Copy link
Author

curly1 commented Mar 4, 2019

OK, sure, thank you.

@Mistobaan
Copy link

Ping for this Pr. Is the Interspeech over?

@mravanelli
Copy link
Owner

mravanelli commented Aug 13, 2019 via email

@TParcollet
Copy link
Collaborator

HI, we are sorry for the delay. Lot of stuffs have changed since then and few conflicts exist. If you are ok and have time, could you make a new PR with the current PyTorch-Kaldi version for this feature? Please do not make this field mandatory on the config file so we don't have to refractor every configuration file.

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

Successfully merging this pull request may close these issues.

None yet

4 participants