mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 14:05:33 +00:00
comment out params related to the chunk size
This commit is contained in:
parent
7b6a89749d
commit
77178c6311
@ -1033,17 +1033,17 @@ def main():
|
|||||||
test_set_name=subdir,
|
test_set_name=subdir,
|
||||||
results_dict=results_dict,
|
results_dict=results_dict,
|
||||||
)
|
)
|
||||||
with (
|
# with (
|
||||||
params.res_dir
|
# params.res_dir
|
||||||
/ (
|
# / (
|
||||||
f"{subdir}-{params.decode_chunk_len}_{params.beam_size}"
|
# f"{subdir}-{params.decode_chunk_len}_{params.beam_size}"
|
||||||
f"_{params.avg}_{params.epoch}.cer"
|
# f"_{params.avg}_{params.epoch}.cer"
|
||||||
)
|
# )
|
||||||
).open("w") as fout:
|
# ).open("w") as fout:
|
||||||
if len(tot_err) == 1:
|
# if len(tot_err) == 1:
|
||||||
fout.write(f"{tot_err[0][1]}")
|
# fout.write(f"{tot_err[0][1]}")
|
||||||
else:
|
# else:
|
||||||
fout.write("\n".join(f"{k}\t{v}") for k, v in tot_err)
|
# fout.write("\n".join(f"{k}\t{v}") for k, v in tot_err)
|
||||||
|
|
||||||
logging.info("Done!")
|
logging.info("Done!")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user