From 4098a039645bfcd1c572a2ded74e2dd71714334c Mon Sep 17 00:00:00 2001 From: Peng Li Date: Tue, 24 Oct 2017 10:40:13 +0800 Subject: [PATCH] refine the warning message --- python/paddle/v2/parameters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/paddle/v2/parameters.py b/python/paddle/v2/parameters.py index 300c35a41da..d51e1fdadf6 100644 --- a/python/paddle/v2/parameters.py +++ b/python/paddle/v2/parameters.py @@ -325,9 +325,9 @@ class Parameters(object): """ Save parameters to a tar file. - WARNING: Do not use this function to save parameters directly unless you - know exactly what you are doing. `paddle.v2.trainer.SGD.save_parameter_to_tar(f)` - should be used instead. + WARNING: You should use `paddle.v2.trainer.SGD.save_parameter_to_tar(f)` + to save parameters most of the time. Otherwise, some settings such + as model average will not take effect. :param f: :type f: file -- GitLab