From 274d352e6f32b6f980e55963a62f34d2e288c429 Mon Sep 17 00:00:00 2001 From: James Betker Date: Mon, 30 Aug 2021 21:45:58 -0600 Subject: [PATCH] dug --- codes/scripts/asr_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/scripts/asr_eval.py b/codes/scripts/asr_eval.py index f27e73ed..21822dfe 100644 --- a/codes/scripts/asr_eval.py +++ b/codes/scripts/asr_eval.py @@ -75,7 +75,7 @@ if __name__ == "__main__": continue pred = forward_pass(model, data, dataset_dir, opt, batch) pred = pred.replace('_', '') - output.write(f'{pred}\t{os.path.basename(data["path"][0])}') + output.write(f'{pred}\t{os.path.basename(data["path"][0])}\n') output.flush() batch += 1