fastspeech2-en-ljspeech / run_fast_speech_2.py
ford442's picture
Upload 9 files
ef4b4b0 verified
raw
history blame contribute delete
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": "./"})