Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix bug in saving model (invoke the wrong function) #432

Merged
merged 3 commits into from
Oct 23, 2017

Conversation

pengli09
Copy link

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

@lcy-seso
Copy link
Contributor

lcy-seso commented Oct 23, 2017

One problem is the README.mds are not updated. They are used to generate the *.ipynb files.

Done (by Peng)

Copy link
Contributor

@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.

Copy link
Contributor

@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 07b62fa into PaddlePaddle:develop Oct 23, 2017
@pengli09 pengli09 deleted the fix-model-saving-bug branch October 23, 2017 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants