hello.
i try to make the fastspeech2 model used by Ljspeech data set.
but i can not train any more.
But fastspeech2 train fail.
Traceback (most recent call last):
File "examples/fastspeech2/train_fastspeech2.py", line 412, in
main()
File "examples/fastspeech2/train_fastspeech2.py", line 325, in main
mel_length_threshold=mel_length_threshold,
File "./examples/fastspeech2/fastspeech2_dataset.py", line 101, in __init__
), f"Number of charactor, mel, duration, f0 and energy files are different"
AssertionError: Number of charactor, mel, duration, f0 and energy files are different
please help me.
you need extract duration before training FastSpeech2, you can use tacotron2 or MFA to do that.
I see, Thank you for your cooperation.
Most helpful comment
you need extract duration before training FastSpeech2, you can use tacotron2 or MFA to do that.