From ce30011976659c0e3ac2dd80cb999586e84497aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=98=89=E6=B8=8A?= Date: Tue, 25 Apr 2023 16:37:16 +0800 Subject: [PATCH] update --- funasr/utils/prepare_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funasr/utils/prepare_data.py b/funasr/utils/prepare_data.py index e095a4c31..ed4104c5d 100644 --- a/funasr/utils/prepare_data.py +++ b/funasr/utils/prepare_data.py @@ -90,7 +90,7 @@ def calc_shape(args, dataset, nj=32): start = 0 for i in range(nj): end = start + num_job_lines - file = os.path.join(shape_path, "wav.scp.{}".format(str(i + 1))) + file = os.path.join(split_shape_path, "wav.scp.{}".format(str(i + 1))) with open(file, "w") as f: if i == nj - 1: f.writelines(lines[start:])