From 6cbba14c3f7c6b9c5c8cb1e829671625db5c7e63 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 29 Oct 2021 12:15:09 +0800 Subject: [PATCH] Fix style issues. --- icefall/decode.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/icefall/decode.py b/icefall/decode.py index d799e9b24..619b3267a 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -732,11 +732,12 @@ def rescore_with_whole_lattice( logging.info( f"num_arcs before pruning: {inv_lattice.arcs.num_elements()}" ) - logging.info("This OOM is not an error. You can ignore it. " - "If your model does not converge well, or --max-duration " - "is too large, or the input sound file is difficult to " - "decode, you will meet this exception." - ) + logging.info( + "This OOM is not an error. You can ignore it. " + "If your model does not converge well, or --max-duration " + "is too large, or the input sound file is difficult to " + "decode, you will meet this exception." + ) # NOTE(fangjun): The choice of the threshold 1e-9 is arbitrary here # to avoid OOM. You may need to fine tune it.