Text-to-Speech
Fairseq
English
audio
fastspeech2-en-ljspeech / run_fast_speech_2.py
patrickvonplaten's picture
move all
17530a7
raw
history blame
306 Bytes
#!/usr/bin/env python3
from fairseq.checkpoint_utils import load_model_ensemble_and_task
# model = load_model_ensemble_and_task(["./pytorch_model.pt"], arg_overrides={"config_yaml": "./config.yaml", "data": "./"})
model = load_model_ensemble_and_task(["./pytorch_model.pt"], arg_overrides={"data": "./"})