› Forums › Speech Synthesis › Merlin › KeyError: 'mgc'
- This topic has 1 reply, 1 voice, and was last updated 8 years, 1 month ago by Norbert G.
-
AuthorPosts
-
-
June 27, 2016 at 22:26 #3305
Hello,
I am trying to synthesise my held-out data using duration model, so changed in config file DNNGEN and GENWAV to True, run the script and got the following error msg:
2016-06-27 22:07:11,476 INFO dnn_generation: generating 117 of 117: /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_02/msc_demo_02///nn_no_silence_lab_norm_248/siedemwybranychopowiadan_8_orkan_00181.lab_dur
2016-06-27 22:07:11,525 DEBUG dnn_generation: saved to /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_02/msc_demo_02//dnn_training_DUR//gen/DNN__dur_1_1350_248_5_3_512/siedemwybranychopowiadan_8_orkan_00181.cmp
2016-06-27 22:07:11,526 DEBUG main : denormalising generated output using method MVN
2016-06-27 22:07:11,642 DEBUG param_generation: acoustic_decomposition for 117 files
2016-06-27 22:07:11,643 INFO param_generation: processing 1 of 117: /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_02/msc_demo_02//dnn_training_DUR//gen/DNN__dur_1_1350_248_5_3_512/siedemwybranychopowiadan_8_orkan_00027.cmp
feature mgc
2016-06-27 22:07:11,643 DEBUG param_generation: feature: mgc
Traceback (most recent call last):
File “./run_dnn.py”, line 970, in <module>
main_function(cfg)
File “./run_dnn.py”, line 840, in main_function
generator.acoustic_decomposition(gen_file_list, cfg.cmp_dim, cfg.out_dimension_dict, cfg.file_extension_dict, var_file_dict)
File “/afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/tools/dnn_tts/frontend/parameter_generation.py”, line 109, in acoustic_decomposition
current_features = features[:, stream_start_index[feature_name]:stream_start_index[feature_name]+out_dimension_dict[feature_name]]
KeyError: ‘mgc’
I checked in the gen folder I have a cmp for every file so assume DNNGEN went ok. Why is mgc as key error? is it the type of variable what is wrong? I belive mgc are a must to GENWAV, so I am wondering what’s wrong? Could somewone explain, please? -
June 28, 2016 at 17:16 #3309
Sorry, I checked it again and I see that DNNGEN only creates cmps and next produces this error. Maybe it is supposed to create all necessary acoustic features bap, f0 and mfcc as well? where do I specify what the output should be? Is it in a duration config file by any chance?
In addition, the file parameter_generation.py has (at least in my version – Merlin for Ossian) in the main() function following paths:
in_file_list = [‘/afs/inf.ed.ac.uk/group/project/dnn_tts/mtl_dnn/gen/dnn_2500_601_229/hvd_678.cmp’]
and a variable var_file_dict a dictionary which values are some other paths.
I believe they should be updated? If yes, could someone explain what is their function?
Anyone assist, please?
thanks,
Norbert
-
-
AuthorPosts
- You must be logged in to reply to this topic.