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

'iteration' argument is not set when continuing from checkpoint #43

Closed
EgorLakomkin opened this issue May 3, 2017 · 1 comment
Closed
Assignees

Comments

@EgorLakomkin
Copy link
Contributor

EgorLakomkin commented May 3, 2017

When I try to do continue from the checkpoint deepspeech_6.pth.tar I receive this:

Loading checkpoint model ./models/deepspeech_6.pth.tar
6
  File "train.py", line 324, in <module>
    main()
  File "train.py", line 147, in main
    start_iter = int(package.get('iteration', -1)) + 1
ValueError: invalid literal for int() with base 10: 'N/A'
@SeanNaren SeanNaren self-assigned this May 3, 2017
@SeanNaren
Copy link
Owner

Hey could you check if #43 works for you?

SeanNaren pushed a commit that referenced this issue May 5, 2017
* Fix for start iteration not found

* Add extra checks before adding vars to package

* Fixed start epoch

* Fixed accidental formatting

* Add fix to avg loss

* Fixed default

* Fixed logic in checkpointing

* Fixed logic in checkpointing
@ghost ghost removed the in progress label May 6, 2017
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

2 participants