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)