diff --git a/ppocr/utils/save_load.py b/ppocr/utils/save_load.py index 47950a693a656824f8d3773bf519367bc3575ee4..80f64dc5835d1a33a9f746f71715f9ea202310da 100755 --- a/ppocr/utils/save_load.py +++ b/ppocr/utils/save_load.py @@ -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: