Instructions to use facebook/fastspeech2-en-ljspeech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Fairseq
How to use facebook/fastspeech2-en-ljspeech with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "facebook/fastspeech2-en-ljspeech" ) - Notebooks
- Google Colab
- Kaggle
Fixed error loadng model
#8
by knoriy - opened
task.build_generator(models, cfg) requires a list, this causes an error due to model = models[0]
use
generator = task.build_generator([model], cfg)