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

Error saving final weights #1

Open
zakizuberiaria opened this issue Apr 24, 2020 · 1 comment
Open

Error saving final weights #1

zakizuberiaria opened this issue Apr 24, 2020 · 1 comment

Comments

@zakizuberiaria
Copy link

Getting an error in line 371 of train.py when saving final weights. It seems the arguments are incorrect. I believe the line should be updated totrainer.export_model(model, optimizer, name="final") to work.

@zakizuberiaria
Copy link
Author

Additionally, the step is not saved for the final weights causing an error in line 136 of predict when running inference. However, step is not actually used in predict except for display purposes. Step needs to be saved in train.py line 371 or not loaded in predict.py line 136.

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