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

Fix exception in find_checkpoints #668

Merged
merged 2 commits into from
Nov 26, 2022

Conversation

abb128
Copy link
Contributor

@abb128 abb128 commented Nov 8, 2022

I manually renamed a checkpoint to something like checkpoint-476000-1.pt and this later caused a sudden exception and training to stop. This PR fixes the exception and instead logs and ignores invalid checkpoint filenames
image

@csukuangfj
Copy link
Collaborator

@abb128
Thanks for your contribution!

@csukuangfj csukuangfj merged commit 61032e7 into k2-fsa:master Nov 26, 2022
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.

2 participants