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
TypeError: cannot unpack non-iterable NoneType object
#16
by potatocharlie - opened
When I try to download the model from the hub I get this error and I don't know how to fix it..
Untitled-2 in line 2
6 #%%
----> 7 models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
8 "facebook/fastspeech2-en-ljspeech",
9 arg_overrides={"vocoder": "hifigan", "fp16": False}
10 )
TypeError: cannot unpack non-iterable NoneType object
Hey @potatocharlie - I was not able to reproduce your error using the codesnippet on the README, but did find bugs in the one that was there. Does the updated codesnippet from #17 fix your issue?