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
063099abd5
commit
ff81e4c403
Binary file not shown.
@ -81,9 +81,6 @@ def prepare_vox(
|
||||
part_file_names = sorted(glob.glob(str(part_path)+'/*.wav'))
|
||||
part_file_names = [name.split('/')[-1].replace('.wav', '') for name in part_file_names]
|
||||
txt_path = os.path.join(corpus_dir, "texts")
|
||||
print(part_file_names)
|
||||
print(part_path)
|
||||
print(txt_path)
|
||||
futures = []
|
||||
|
||||
for trans_path in tqdm(
|
||||
@ -98,7 +95,6 @@ def prepare_vox(
|
||||
futures.append(
|
||||
parse_utterance(part_path, trans_path + ' ' + line, alignments)
|
||||
)
|
||||
print(futures)
|
||||
for future in tqdm(futures, desc="Processing", leave=False):
|
||||
result = future
|
||||
if result is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user