From d31ba7cc1b5a5bfbce59214d006f05a087db2ec3 Mon Sep 17 00:00:00 2001 From: xmy0916 <863299715@qq.com> Date: Wed, 3 Mar 2021 11:09:20 +0800 Subject: [PATCH] fix type error --- configs/rec/multi_language/generate_multi_language_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/rec/multi_language/generate_multi_language_configs.py b/configs/rec/multi_language/generate_multi_language_configs.py index 4319482b..027a65c0 100644 --- a/configs/rec/multi_language/generate_multi_language_configs.py +++ b/configs/rec/multi_language/generate_multi_language_configs.py @@ -131,7 +131,7 @@ if __name__ == '__main__': if FLAGS.val: global_config['Eval']['dataset']['label_file_list'] = [FLAGS.val] eval_label_path = os.path.join(project_path,FLAGS.val) - loss_file(Eval_label_path) + loss_file(eval_label_path) if FLAGS.dict: global_config['Global']['character_dict_path'] = FLAGS.dict dict_path = os.path.join(project_path,FLAGS.dict)