mirror of https://github.com/coqui-ai/TTS.git
downsize melgan test model size
This commit is contained in:
parent
4f29725eb6
commit
614738cc85
|
@ -112,7 +112,6 @@ def ljspeech_test(root_path, meta_file):
|
||||||
https://keithito.com/LJ-Speech-Dataset/"""
|
https://keithito.com/LJ-Speech-Dataset/"""
|
||||||
txt_file = os.path.join(root_path, meta_file)
|
txt_file = os.path.join(root_path, meta_file)
|
||||||
items = []
|
items = []
|
||||||
speaker_name = "ljspeech"
|
|
||||||
with open(txt_file, "r", encoding="utf-8") as ttf:
|
with open(txt_file, "r", encoding="utf-8") as ttf:
|
||||||
for idx, line in enumerate(ttf):
|
for idx, line in enumerate(ttf):
|
||||||
cols = line.split("|")
|
cols = line.split("|")
|
||||||
|
|
|
@ -19,7 +19,7 @@ config = MelganConfig(
|
||||||
seq_len=2048,
|
seq_len=2048,
|
||||||
eval_split_size=1,
|
eval_split_size=1,
|
||||||
print_step=1,
|
print_step=1,
|
||||||
discriminator_model_params={"base_channels": 16, "max_channels": 256, "downsample_factors": [4, 4, 4]},
|
discriminator_model_params={"base_channels": 16, "max_channels": 64, "downsample_factors": [4, 4, 4]},
|
||||||
print_eval=True,
|
print_eval=True,
|
||||||
data_path="tests/data/ljspeech",
|
data_path="tests/data/ljspeech",
|
||||||
output_path=output_path,
|
output_path=output_path,
|
||||||
|
|
Loading…
Reference in New Issue