Text-to-Speech
Fairseq
English
audio

Fixed error that caused: TypeError: 'FastSpeech2Model' object is not subscriptable

#7
by knoriy - opened
No description provided.

That didn't really fix it. This change is also required:

From:

generator = task.build_generator(model, cfg)

to:

generator = task.build_generator([model], cfg)
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment