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
0f3bfebb80
commit
d574683500
Binary file not shown.
@ -807,8 +807,8 @@ def main():
|
||||
|
||||
res_dict = sorted(res_dict.items(), key=lambda x:x[0])
|
||||
|
||||
for k, v in res_dict:
|
||||
os.makedirs(f"/DB/LibriSpeech_tar/vox/{params.spk_id}_texts")
|
||||
for k, v in res_dict:
|
||||
utt_id = '-'.join(k.split('-')[:-1])
|
||||
f = open(f'/DB/LibriSpeech_tar/vox/{params.spk_id}_texts/{utt_id}.txt', 'w')
|
||||
f.write(v.strip())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user