Open eonglints opened 2 years ago
Looking at https://github.com/pytorch/fairseq/blob/main/fairseq/models/text_to_speech/fastspeech2.py it would appear that this particular bug is just a documentation issue - this model doesn't need these three arguments.
However, after removing those arguments, the model still doesn't train as it's looking for other missing args such as args.pitch_min
. Would be good to have a proper set of args for training this model.
Those arguments still need to be removed from the documentation but the issue about the missing FastSpeech2 args is my mistake - I hadn't added the --add-fastspeech-targets
argument when creating the feature manifests.
🐛 Bug
Unrecognized arguments when attempting to train FastSpeech 2 model (see https://github.com/pytorch/fairseq/blob/main/examples/speech_synthesis/docs/ljspeech_example.md#fastspeech2)
To Reproduce
Steps to reproduce the behavior:
fairseq-train: error: unrecognized arguments: --activation-dropout 0.1 --encoder-normalize-before --decoder-normalize-before
Expected behavior
Arguments are accepted and model starts to train.
Environment
Additional context
Still very much enjoying this framework despite the odd bug. Thanks again!