mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
8148981742
commit
c1f30059da
Binary file not shown.
@ -81,7 +81,7 @@ def prepare_vox(
|
|||||||
#part_file_names = list(map(lambda x: x.strip('.wav'), os.listdir(part_path)))
|
#part_file_names = list(map(lambda x: x.strip('.wav'), os.listdir(part_path)))
|
||||||
part_file_names = sorted(glob.glob(str(part_path)+'/*.wav'))
|
part_file_names = sorted(glob.glob(str(part_path)+'/*.wav'))
|
||||||
part_file_names = [name.split('/')[-1].replace('.wav', '') for name in part_file_names]
|
part_file_names = [name.split('/')[-1].replace('.wav', '') for name in part_file_names]
|
||||||
txt_path = os.path.join(corpus_dir, f"../{spk_id}/texts")
|
txt_path = os.path.join(corpus_dir, f"../{spk_id}_texts")
|
||||||
print(txt_path)
|
print(txt_path)
|
||||||
futures = []
|
futures = []
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user