From eb208af1467dcd8329d3099e6c1ad13ada1032ad Mon Sep 17 00:00:00 2001 From: "shaohua.zhang" Date: Tue, 21 Jul 2020 14:00:20 +0800 Subject: [PATCH] rename a var and a function --- tools/program.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/program.py b/tools/program.py index 6197b91b..65d29460 100755 --- a/tools/program.py +++ b/tools/program.py @@ -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 -- GitLab