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
8c43f8f2cd
commit
067d79a01c
Binary file not shown.
@ -86,11 +86,11 @@ def prepare_vox(
|
|||||||
for trans_path in tqdm(
|
for trans_path in tqdm(
|
||||||
glob.iglob(str(txt_path) + "/*.txt"), desc="Distributing tasks", leave=False
|
glob.iglob(str(txt_path) + "/*.txt"), desc="Distributing tasks", leave=False
|
||||||
):
|
):
|
||||||
print(trans_path)
|
|
||||||
alignments = {}
|
alignments = {}
|
||||||
with open(trans_path) as f:
|
with open(trans_path) as f:
|
||||||
cur_file_name = trans_path.split('/')[-1].replace('.txt', '')
|
cur_file_name = trans_path.split('/')[-1].replace('.txt', '')
|
||||||
if cur_file_name not in part_file_names:
|
if cur_file_name not in part_file_names:
|
||||||
|
print('hi!')
|
||||||
continue
|
continue
|
||||||
for line in f:
|
for line in f:
|
||||||
futures.append(
|
futures.append(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user