rishikksh20 / FastSpeech2

PyTorch Implementation of FastSpeech 2 : Fast and High-Quality End-to-End Text to Speech
Apache License 2.0
225 stars 51 forks source link

hparams.py is missing in colabs #31

Closed bthiban closed 3 years ago

bthiban commented 3 years ago

when running the code in colabs, hparams.py is missing.

`def synthesis(text, path): """Decode with E2E-TTS model."""

print("TTS synthesis")
# read training config
idim = hp.symbol_len 
odim = hp.num_mels
model = FeedForwardTransformer(idim, odim)`
carankt commented 3 years ago

just add this code before your error cell

from utils.hparams import HParam  
hp = HParam("configs/default.yaml")