from local

This commit is contained in:
dohe0342 2023-03-13 16:07:08 +09:00
parent 0f3bfebb80
commit d574683500
2 changed files with 1 additions and 1 deletions

View File

@ -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())