1
0
Fork 0
master
mrq 2023-03-15 01:51:04 +07:00
parent d752a22331
commit b31bf1206e
1 changed files with 1 additions and 1 deletions

@ -1364,7 +1364,7 @@ def prepare_dataset( voice, use_segments, text_length, audio_length, normalize=T
from vall_e.emb.g2p import encode as phonemize
if waveform.shape[0] == 2:
waveform = wav[:1]
waveform = waveform[:1]
quantized = quantize( waveform, sample_rate ).cpu()
torch.save(quantized, f'{indir}/valle/{file.replace(".wav",".qnt.pt")}')