"tests/vscode:/vscode.git/clone" did not exist on "a0542c1917b4530e5c49b4463159340fb1da66f4"
Unverified Commit a4abf132 authored by shaohua.zhang's avatar shaohua.zhang Committed by GitHub
Browse files

Update save_load.py

parent e0f3bcb4
...@@ -115,8 +115,8 @@ def init_model(config, program, exe): ...@@ -115,8 +115,8 @@ def init_model(config, program, exe):
logger.info("Finish initing model from {}".format(path)) logger.info("Finish initing model from {}".format(path))
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