› Forums › Speech Synthesis › Merlin › GENWAV – problem
- This topic has 9 replies, 4 voices, and was last updated 8 years, 1 month ago by Simon.
-
AuthorPosts
-
-
June 22, 2016 at 13:32 #3291
Hello,
I am trying to create wavs from my held-out data without using duration model. I am working from DICE machine. Changed in the config DNNGEN and GENWAV to True. DNNGEN seems to work fine since I get all my necessary to create wavs. Now, when GENWAV starts I am getting the following:
2016-06-22 13:17:37,180 INFO main : reconstructing waveform(s)
117
2016-06-22 13:17:37,181 INFO wav_generation: creating waveform for 1 of 117: /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_1/msc_demo_02//dnn_training_ACOUST//gen/DNN__mgc_lf0_vuv_bap_1_1350_228_199_6_1024/siedemwybranychopowiadan_8_orkan_00027.mgc
2016-06-22 13:17:37,188 CRITICAL subprocess: exit status 127
2016-06-22 13:17:37,188 CRITICAL subprocess: for command: echo 1 1 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 | /this/path/does/not/exist/x2x +af > /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_1/msc_demo_02//dnn_training_ACOUST//gen/DNN__mgc_lf0_vuv_bap_1_1350_228_199_6_1024/weight
2016-06-22 13:17:37,189 CRITICAL subprocess: stderr: /bin/sh: /this/path/does/not/exist/x2x: No such file or directory2016-06-22 13:17:37,189 CRITICAL subprocess: stdout:
2016-06-22 13:17:37,189 CRITICAL subprocess: OSError for echo 1 1 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 | /this/path/does/not/exist/x2x +af > /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_1/msc_demo_02//dnn_training_ACOUST//gen/DNN__mgc_lf0_vuv_bap_1_1350_228_199_6_1024/weight
Traceback (most recent call last):
File “./run_dnn.py”, line 970, in <module>
main_function(cfg)
File “./run_dnn.py”, line 845, in main_function
generate_wav(gen_dir, gen_file_id_list, cfg) # generated speech
File “/afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/tools/dnn_tts/utils/generate.py”, line 170, in generate_wav
.format(line=line, x2x=SPTK[‘X2X’], weight=os.path.join(gen_dir, ‘weight’)))
File “/afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/tools/dnn_tts/utils/generate.py”, line 90, in run_process
raise OSError
OSErrorIt looks as if it couldn’t find a file called ‘weight’. I checked in the path and this file exists although has 0 bytes. I am wondering what is the purpose of this file anyway? or maybe is should be a directory? How does it relate to the process of GENWAV since all the files are being written to /afs/inf.ed.ac.uk/group/msc-projects/s1574060/thesis/Ossian/train/pl/speakers/rss_toy_demo_1/msc_demo_02//dnn_training_ACOUST//gen/DNN__mgc_lf0_vuv_bap_1_1350_228_199_6_1024/ during DNNGEN.
Could someone drop any hint, please?
Thanks,
Norbert -
June 22, 2016 at 14:10 #3292
As I can see, you haven’t configured the SPTK tool path in the configuration file, as clearly shown in the error:
“/this/path/does/not/exist/x2x +af *”
subprocess: stderr: /bin/sh: /this/path/does/not/exist/x2x: No such file or directoryPlease change the path to SPTK tools in configuration files and re-run the GENWAV step.
-
June 22, 2016 at 15:22 #3296
Fair play to you,
much appreciated! -
June 22, 2016 at 15:54 #3297
This would seem to be the error:
/this/path/does/not/exist/x2x
Looks like you need to set a correct path to the SPTK tools (of which
x2x
is a part) -
June 22, 2016 at 16:18 #3298
thanks Simon,
all sorted I had to add the path to WORLD as well.
I was misled by /this/path/does/not/exist/ I thought it was a msg from the command line and not the actual path, ah sure happens. -
July 2, 2016 at 12:41 #3313
Hi I also have a problem with GENWAV, I pointing the right folder for SPTK, it generated the acoustic parameters in the previous step but now that I want to generate the waveform it can’t because it does not have a “weight” file. This is the error:
2016-07-02 12:06:53,072 CRITICAL subprocess: OSError for echo 1 1 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 | /mnt/courses/ss/dnn/tools/SPTK-3.9/bin/x2x +af > /mnt/courses.homes/s1520337/Desktop/Dissertation_experiments/DNN Acoustic models/DNN try WORLD/gen/DNN_TANH_TANH_TANH_TANH_TANH_TANH_LINEAR__mgc_lf0_vuv_bap_1_3300_373_199_6_1024_1024/weight
Traceback (most recent call last):
File “/mnt/courses.homes/s1520337/Documents/dnn_tts/run_lstm.py”, line 1089, in <module>
main_function(cfg)
File “/mnt/courses.homes/s1520337/Documents/dnn_tts/run_lstm.py”, line 928, in main_function
generate_wav(gen_dir, gen_file_id_list, cfg) # generated speech
File “/mnt/courses.homes/s1520337/Documents/dnn_tts/utils/generate.py”, line 171, in generate_wav
.format(line=line, x2x=SPTK[‘X2X’], weight=os.path.join(gen_dir, ‘weight’)))
File “/mnt/courses.homes/s1520337/Documents/dnn_tts/utils/generate.py”, line 90, in run_process
raise OSErrorSo the questions are:
– Where is this file generated? (and why I don’t have it)
– What information has this weight file?
– How do I fix the error?Thank you!
-
July 10, 2016 at 10:36 #3323
Looks like you have spaces in some of your directory names
DNN Acoustic models
DNN try WORLD
This is a bad idea because it will break many shell scripts or system calls. Replace those spaces with underscores.
-
-
July 2, 2016 at 19:20 #3314
Hola Pilar!
I ended up copying my own version of sptk 3.7 and world. Than in the config file wrote a path to wherever i copied them to and it worked. I attached both in the zip file. Have a look maybe it will work for you as well.
-
July 3, 2016 at 11:50 #3316
Gracias Norbert, I tried but it does not work. I’ve tried with different versions of SPTK, local and in the network, but I keep getting the same error about the “weight” file.
2016-07-03 11:42:06,644 CRITICAL subprocess: for command: echo 1 1 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 | /mnt/courses/ss/dnn/tools/SPTK-3.9/bin/x2x +af > /mnt/courses.homes/s1520337/Desktop/Dissertation_experiments/DNN Acoustic models/DNN try WORLD/gen/DNN_TANH_TANH_TANH_TANH_TANH_TANH_LINEAR__mgc_lf0_vuv_bap_1_3300_373_199_6_1024_1024/weight
2016-07-03 11:42:06,644 CRITICAL subprocess: stderr: Cannot open file Acoustic! -
July 3, 2016 at 11:57 #3317
Ok, sorted out. Apparently there was something about my paths that SPTK did not like it so it was not working…
-
-
AuthorPosts
- You must be logged in to reply to this topic.