From 224f22b92c386e77bc56b4bbe4d2ccf1e03c07f4 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Mon, 11 Oct 2021 02:37:45 +0000 Subject: [PATCH] delete debug --- tools/eval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/eval.py b/tools/eval.py index 8eccfd65..7290dbe9 100755 --- a/tools/eval.py +++ b/tools/eval.py @@ -54,7 +54,8 @@ def main(): config['Architecture']["Head"]['out_channels'] = char_num model = build_model(config['Architecture']) - extra_input = config['Architecture']['algorithm'] in ["SRN", "NRTR", "SAR", "SEED"] + extra_input = config['Architecture'][ + 'algorithm'] in ["SRN", "NRTR", "SAR", "SEED"] if "model_type" in config['Architecture'].keys(): model_type = config['Architecture']['model_type'] else: @@ -68,7 +69,6 @@ def main(): # build metric eval_class = build_metric(config['Metric']) - logger.info(f"extra_inputs: {extra_input}") # start eval metric = program.eval(model, valid_dataloader, post_process_class, eval_class, model_type, extra_input) -- GitLab