mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 14:05:33 +00:00
flake8
This commit is contained in:
parent
55c0a7ddcd
commit
059457f622
@ -735,7 +735,10 @@ def rescore_with_whole_lattice(
|
||||
except RuntimeError as e:
|
||||
logging.info(f"Caught exception:\n{e}\n")
|
||||
if loop_count >= max_loop_count:
|
||||
logging.info("Return None as the resulting lattice is too large")
|
||||
logging.info(
|
||||
"Return None as the resulting lattice "
|
||||
"is too large"
|
||||
)
|
||||
return None
|
||||
logging.info(
|
||||
f"num_arcs before pruning: {inv_lattice.arcs.num_elements()}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user