comment out params related to the chunk size

This commit is contained in:
Triplecq 2024-01-14 17:35:20 -05:00
parent 7b6a89749d
commit 77178c6311

View File

@ -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!")