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 model saving bug #392

Merged
merged 2 commits into from
Oct 23, 2017
Merged

Conversation

pengli09
Copy link
Contributor

Models should be saved by trainer.save_parameter_to_tar(f) instead of parameters.to_tar(f). Otherwise, model average will not take effect.

Copy link
Collaborator

@lcy-seso lcy-seso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lcy-seso lcy-seso merged commit 7631f3b into PaddlePaddle:develop Oct 23, 2017
@pengli09 pengli09 deleted the fix-model-saving-bug branch October 23, 2017 11:46
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