未验证 提交 eb208af1 编写于 作者: S shaohua.zhang 提交者: GitHub

rename a var and a function

上级 5f13f6e0
......@@ -375,7 +375,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict):
save_model(train_info_dict['train_program'], save_path)
return
def preProcess():
def preprocess():
FLAGS = ArgsParser().parse_args()
config = load_config(FLAGS.config)
merge_config(FLAGS.opt)
......@@ -398,4 +398,4 @@ def preProcess():
if alg in ['EAST', 'DB']:
isContain_det = True
return startup_program, train_program, place, config, isContain_det
return startup_program, train_program, place, config, contain_det
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册