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

repair a var

上级 94e8c3b6
...@@ -48,7 +48,7 @@ from eval_utils.eval_rec_utils import eval_rec_run ...@@ -48,7 +48,7 @@ from eval_utils.eval_rec_utils import eval_rec_run
def main(): def main():
startup_prog, eval_program, place, config,contain_det = program.preprocess() startup_prog, eval_program, place, config, train_alg_type = program.preprocess()
eval_build_outputs = program.build( eval_build_outputs = program.build(
config, eval_program, startup_prog, mode='test') config, eval_program, startup_prog, mode='test')
eval_fetch_name_list = eval_build_outputs[1] eval_fetch_name_list = eval_build_outputs[1]
...@@ -59,7 +59,7 @@ def main(): ...@@ -59,7 +59,7 @@ def main():
init_model(config, eval_program, exe) init_model(config, eval_program, exe)
if contain_det: if train_alg_type == 'det':
eval_reader = reader_main(config=config, mode="eval") eval_reader = reader_main(config=config, mode="eval")
eval_info_dict = {'program':eval_program,\ eval_info_dict = {'program':eval_program,\
'reader':eval_reader,\ 'reader':eval_reader,\
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册