from local

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

View File

@ -807,7 +807,8 @@ def main():
res_dict = sorted(res_dict.items(), key=lambda x:x[0])
os.makedirs(f"/DB/LibriSpeech_tar/vox/{params.spk_id}_texts")
try: os.makedirs(f"/DB/LibriSpeech_tar/vox/{params.spk_id}_texts")
except: pass
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')