forked from mrq/ai-voice-cloning
ops
This commit is contained in:
parent
0a7d6f02a7
commit
54f2fc792a
|
@ -1401,7 +1401,7 @@ def prepare_dataset( voice, use_segments=False, text_length=0, audio_length=0, n
|
||||||
torch.save(quantized, f'{indir}/valle/{file.replace(".wav",".qnt.pt")}')
|
torch.save(quantized, f'{indir}/valle/{file.replace(".wav",".qnt.pt")}')
|
||||||
|
|
||||||
# phonemes = phonemizer(normalized_text)
|
# phonemes = phonemizer(normalized_text)
|
||||||
open(f'{indir}/valle/{file.replace(".wav",".phn.txt")}', 'w', encoding='utf-8').write(" ".join(text))
|
open(f'{indir}/valle/{file.replace(".wav",".phn.txt")}', 'w', encoding='utf-8').write(text)
|
||||||
|
|
||||||
training_joined = "\n".join(lines['training'])
|
training_joined = "\n".join(lines['training'])
|
||||||
validation_joined = "\n".join(lines['validation'])
|
validation_joined = "\n".join(lines['validation'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user