text-to-speech / run_fast_speech_2.py
Nithu's picture
Upload 7 files
6489817
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": "./"})