vits icon indicating copy to clipboard operation
vits copied to clipboard

Not all .wav files generate corresponding spec.pt

Open anitman opened this issue 2 years ago • 2 comments

I notice that the spec.pt generated are missing for some .wav files in the dataset, even after training of thousands epochs. What cause this issue?

anitman avatar Jan 18 '23 07:01 anitman

Too big wav files are omitted: https://github.com/jaywalnut310/vits/blob/main/data_utils.py#L302

You can try to change it from here (increase numbers in boundaries, for example [32,300,450,600,750,1000,1200,1400,1600]): https://github.com/jaywalnut310/vits/blob/main/train.py#L70 (but note that too big files may lead to worse alignment, though you must experiment with it)

nikich340 avatar Jan 19 '23 08:01 nikich340

Or nicer way - move it in config and setup as you want: https://github.com/jaywalnut310/vits/pull/119/commits/490b60abe3978650d4341c0c64dc49ab76287d58

nikich340 avatar Jan 19 '23 11:01 nikich340