From 20d26b767c933858d045bf7ab2390411052207a3 Mon Sep 17 00:00:00 2001 From: "shaohua.zhang" Date: Tue, 21 Jul 2020 14:02:01 +0800 Subject: [PATCH] rename a var and a function --- tools/eval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/eval.py b/tools/eval.py index 13083acf..8f7521d7 100755 --- a/tools/eval.py +++ b/tools/eval.py @@ -48,7 +48,7 @@ from eval_utils.eval_rec_utils import eval_rec_run def main(): - startup_prog, eval_program, place, config,isContain_det = program.preProcess() + startup_prog, eval_program, place, config,contain_det = program.preprocess() eval_build_outputs = program.build( config, eval_program, startup_prog, mode='test') eval_fetch_name_list = eval_build_outputs[1] @@ -59,7 +59,7 @@ def main(): init_model(config, eval_program, exe) - if isContain_det: + if contain_det: eval_reader = reader_main(config=config, mode="eval") eval_info_dict = {'program':eval_program,\ 'reader':eval_reader,\ -- GitLab