嘉渊
2023-04-25 ce30011976659c0e3ac2dd80cb999586e84497aa
update
1个文件已修改
2 ■■■ 已修改文件
funasr/utils/prepare_data.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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:])