Unverified Commit c538c4cb authored by shaohua.zhang's avatar shaohua.zhang Committed by GitHub
Browse files

Merge pull request #10 from PaddlePaddle/develop

update-08-04
parents c12e9ec5 f7111d7b
...@@ -116,7 +116,7 @@ def init_model(config, program, exe): ...@@ -116,7 +116,7 @@ def init_model(config, program, exe):
else: else:
raise ValueError( raise ValueError(
"Model checkpoints {} does not exists," "Model checkpoints {} does not exists,"
"check if you lost the file prefix .".format(checkpoints + '.pdparams')) "check if you lost the file prefix.".format(checkpoints + '.pdparams'))
pretrain_weights = config['Global'].get('pretrain_weights') pretrain_weights = config['Global'].get('pretrain_weights')
if pretrain_weights: if pretrain_weights:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment