kan-bayashi/ParallelWaveGAN

Train libriTTS problem

winddori2002 opened this issue · 4 comments

Hi, I tried to train the Parallel WaveGAN on the LibriTTS dataset but confronted some issues.
I wanted to use a sampling rate of 16000 instead of 24000. However, when I tried to use a sampling rate of 16000, the error occurred.
In the preprocessing.log, there was an assertion error "1272_128104_000001_000000 seems to have a different sampling rate.".
I wonder if it is possible to change the sampling rate when I train the model on LibriTTS.

sampling_rate: 24000 # Sampling rate.

Change sampling rate in config.

@kan-bayashi
Thank you for responding.
Although I tried to change the sampling_rate in .yaml file, it did not work.
However, it worked when I used the sampling rate of 24000.

Sorry, I was wrong.
Please change this line

echo "${id} ${wav}" >> "${scp}"

to
echo "${id} cat ${filename} | sox -t wav - -c 1 -b 16 -t wav - rate ${fs} |" >> "${scp}"

Please use fs=16000.
And then change sampling rate in config.

Thank you for answering.
It works now!