Merge pull request #10 from PaddlePaddle/develop

update-08-04
This commit is contained in:
shaohua.zhang 2020-08-04 14:01:48 +08:00 committed by GitHub
commit c538c4cba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,8 @@ def init_model(config, program, exe):
logger.info("Finish initing model from {}".format(path))
else:
raise ValueError(
"Model checkpoints {} does not exists,"
"check if you lost the file prefix .".format(checkpoints + '.pdparams'))
"Model checkpoints {} does not exists,"
"check if you lost the file prefix.".format(checkpoints + '.pdparams'))
pretrain_weights = config['Global'].get('pretrain_weights')
if pretrain_weights: