mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
6e66a74ae6
commit
ce30011976
@ -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:])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user