Closed seblemaguer closed 4 years ago
@nikigre could you tell me if you are using the gradle script or the marytts-builder?
Hi! I am using marytts-builder.
Hi! So I have installed correct version of sox.
nikigre@Lenovo-G505:~/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM$ sox --version
sox: SoX v14.2.0
And I ran command like before.
nikigre@Lenovo-G505:~/marytts-5.1.2/target/marytts-builder-5.1.2$ sudo /usr/bin/perl /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/scripts/Training.pl /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/scripts/Config.pm
And after some thime I got this error:
=====================================================================
Start synthesizing waveforms (1mix) at pet feb 21 01:26:47 CET 2020
=====================================================================
Processing directory /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/gen/qst001/ver1/1mix/0:
Synthesizing a speech waveform from gen_stavek109.mgc and gen_stavek109.lf0...sh: 1: /usr/bin/sox: not found
Error in /usr/bin/excite -p 80 /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/gen/qst001/ver1/1mix/0/gen_stavek109.pit | /usr/bin/dfs -b -0.0055231 0.00997018 -0.0087294 -0.000428110000000001 0.01195534 -0.022844 0.0177785 0 -0.02604947 0.04951625 -0.03915007 0.00219802999999999 0.07492151 -0.1614324 0.22659094 0.76356262 0.22659094 -0.1614324 0.07492151 0.00219802999999999 -0.03915007 0.04951625 -0.02604947 0 0.0177785 -0.022844 0.01195534 -0.000428110000000001 -0.0087294 0.00997018 -0.0055231 | /usr/bin/vopr -a /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/gen/qst001/ver1/1mix/0/gen_stavek109.unv | /usr/bin/mglsadf -m 34 -p 80 -a 0.42 -c 0 /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/gen/qst001/ver1/1mix/0/gen_stavek109.mgc | /usr/bin/x2x +fs -o | /usr/bin/sox -c 1 -s -2 -t raw -r 16000 - -c 1 -s -2 -t wav -r 16000 /home/nikigre/marytts-5.1.2/target/marytts-builder-5.1.2/NikGlas_2_HMM/hts/gen/qst001/ver1/1mix/0/gen_stavek109.wav
I checked where sox is installed and it was not in /usr/bin
so I copied it from /usr/local/bin
to correct folder and now I run perl scripts/Training.pl scripts/Config.pm
I get this:
TB: Stats 10346->143 [1.4%] { 10346->143 [1.4%] total }
TB 0.00 lf0_s3_ {*.state[3].stream[2-4]}
Tree based clustering based on MDL criterion, threshold=4.793334e+01
TB: Stats 10346->208 [2.0%] { 20692->351 [1.7%] total }
TB 0.00 lf0_s4_ {*.state[4].stream[2-4]}
Tree based clustering based on MDL criterion, threshold=4.891688e+01
TB: Stats 10346->297 [2.9%] { 31038->648 [2.1%] total }
TB 0.00 lf0_s5_ {*.state[5].stream[2-4]}
Tree based clustering based on MDL criterion, threshold=4.855858e+01
TB: Stats 10346->117 [1.1%] { 41384->765 [1.8%] total }
TB 0.00 lf0_s6_ {*.state[6].stream[2-4]}
Tree based clustering based on MDL criterion, threshold=4.572270e+01
It looks like, it is working! I will report back on how it goes!
Hi all! The command completed successfully! Thank you all for help!
Hi! So Now I ran that again and it was working a bit long and it ended. But I don't know if it is finished right or not. Here are the last few lines. In attachment (command.txt), I included the whole log. It looks like something is wrong with sox. I have the wrong version installed. Of course... I will install the correct one and report back.
Originally posted by @nikigre in https://github.com/marytts/marytts/issues/950#issuecomment-589115362