From 3d2c261684a508e2e4abef204ef549659022fab3 Mon Sep 17 00:00:00 2001 From: Guanbo Wang Date: Wed, 6 Apr 2022 21:05:42 -0400 Subject: [PATCH] black --- icefall/decode.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/icefall/decode.py b/icefall/decode.py index 49b7d4f3b..4c57395eb 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -839,9 +839,7 @@ def rescore_with_attention_decoder( break except RuntimeError as e: logging.info(f"Caught exception:\n{e}\n") - logging.info( - f"num_paths before decreasing: {num_paths}" - ) + logging.info(f"num_paths before decreasing: {num_paths}") num_paths = int(num_paths / 2) if loop_count >= max_loop_count or num_paths <= 0: logging.info( @@ -854,9 +852,7 @@ def rescore_with_attention_decoder( "is too large, or the input sound file is difficult to " "decode, you will meet this exception." ) - logging.info( - f"num_paths after decreasing: {num_paths}" - ) + logging.info(f"num_paths after decreasing: {num_paths}") loop_count += 1 # Now nbest.fsa has its scores set.