mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
black
This commit is contained in:
parent
3e5436e5d4
commit
3d2c261684
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user