From ce30011976659c0e3ac2dd80cb999586e84497aa Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期二, 25 四月 2023 16:37:16 +0800
Subject: [PATCH] update
---
funasr/utils/prepare_data.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/prepare_data.py b/funasr/utils/prepare_data.py
index e095a4c..ed4104c 100644
--- a/funasr/utils/prepare_data.py
+++ b/funasr/utils/prepare_data.py
@@ -90,7 +90,7 @@
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:])
--
Gitblit v1.9.1