[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:03146] Re: Fatal error "can't shift that many" with HTS-demo_CMU-ARCTIC-ADAPT


Hi,

 

I think the problem comes from the fact that you are confusing arguments and variables.

ADAPTSPKR, SPEAKER, TRAINSPKR are environment variables.

You can either set them previous to the call to the ./configure command with:

>> export ADAPTSPKR=rms

>> export TRAINSPKR=’bdl clb jmk slt’

>> …

>> ./configure –allyouroptions

 

Or if you want to put them in the same command line, you have to set them before calling ./configure, e.g:

>> ADAPTSPKR=rms; TRAINSPKR=’bdl clb jmk slt’; …; ./configure –options

 

Regards,

Seb

----------------------------------------------------------------------------

Sébastien Piccand, Researcher

Service Research Group

DOCOMO Communications Laboratories Europe GmbH

Landsberger Strasse 312

80687 Munich, Germany

Phone:  +49-89-56824-247

Web:     www.docomolab-euro.com

Facebook:  www.facebook.com/docomoeurolabs

E-mail:  piccand@xxxxxxxxxxxxxxxxxx

----------------------------------------------------------------------------

Managing Directors (Geschaeftsfuehrer):

Dr. Masami Yabusaki, Kazuo Sugiyama, Moriya Kumasaki

Amtsgericht Muenchen, HRB 132976

 

From: winkler@xxxxxxxxxxxxx [mailto:winkler@xxxxxxxxxxxxx]
Sent: Donnerstag, 12. Januar 2012 00:22
To: hts-users@xxxxxxxxxxxxxxx
Subject: [hts-users:03145] Fatal error "can't shift that many" with HTS-demo_CMU-ARCTIC-ADAPT

 

 

Hello,

When I run the HTS-demo_CMU-ARCTIC-ADAPT demo on Ubuntu 11.10 Desktop, 32-bit using the following ./configure arguments for adaptation with rms instead of slt:

./configure --with-tcl-search-path=/home/machine/hts/ActiveTcl/bin --with-hts-search-path=/home/machine/hts/htk/HTKTools --with-fest-search-path=/usr/share/festival/examples --with-sptk-search-path=/home/machine/hts/SPTK-3.5/programs --with-hts-engine-search-path=/home/machine/hts/hts_engine_API-1.06/bin ADAPTSPK=rms SPEAKER=rms TRAINSPKR='bdl clb jmk rms slt'

After many hours of error-free work successfully extracting MGC coefficients from the raw audio it always eventually fails in the script phase "Extracting log f0 sequence from raw audio" with this error repeating for every raw file:

F0 search range: bdl [40-210]
Extracting f0 from raw/bdl/cmu_us_arctic_bdl_a0001.raw
Unable to open mixer /dev/mixer
[....] 
Extracting f0 from raw/slt/cmu_us_arctic_slt_b0539.raw
Unable to open mixer /dev/mixer

In the middle of this, there is one specific file that gets another specific error as follows:

 

Extracting f0 from raw/jmk/cmu_us_arctic_jmk_a0501.raw

x2x : error: input data is over the range of type 'short'!

 

and when all of the raw files have gotten the 'Unable to open mixer /dev/mixer' error, there is this fatal error at the end:


shift: 35: can't shift that many
make[1]: *** [lf0] Error 2
make[1]: Leaving directory `/home/machine/hts/voices/ADAPT/data'
make: *** [data] Error 2
 

running 'tail log -f' after this gives the following output:

 

tail log -f

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice31.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice32.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice33.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice34.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice35.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice36.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice37.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice38.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice39.lab using hts_engine...done.

Synthesizing a speech waveform from /home/machine/hts/HTS-demo_CMU-ARCTIC-ADAPT/data/labels/gen/slt/cmu_us_arctic_slt_alice40.lab using hts_engine...done.


A search for "can't shift that many" in the last year gives the following results, but I wasn't able to pin down the issue in this case other than the fact that it might be shell-related:

http://www.google.com/search?q=%22can't+shift+that+many#q=%22can%27t+shift+that+many&hl=en&tbs=clue:1,qdr:y

I've repeatedly re-read ./configure -help and I've been looking for a mistake in my configure arguments but any changes I've made have resulted in the same or different fatal errors. For instance, if I run with the following ./configure line instead (removing rms from TRAINSPKR, since the default arguments omit slt from TRAINSPKR):

 

./configure --with-tcl-search-path=/home/machine/hts/ActiveTcl/bin --with-hts-search-path=/home/machine/hts/htk/HTKTools --with-fest-search-path=/usr/share/festival/examples --with-sptk-search-path=/home/machine/hts/SPTK-3.5/programs --with-hts-engine-search-path=/home/machine/hts/hts_engine_API-1.06/bin ADAPTSPK=rms SPEAKER=rms TRAINSPKR='bdl clb jmk slt'

 

I get this error at the same script phase:

 

Order of speakers in ALLSPKR (slt) doesn't match to that in F0_RANGES (rms)!

 

I haven't been able to find a definition of ALLSPKR in the configure help or elsewhere, but I see in the script that emits this error that the order should be "bdl clb jmk rms slt" which I guess doesn't correspond to using TRAINSPKR without rms. I decided to try to give an argument for F0_RANGES that puts the voices in what I hope is the correct order:

 

./configure --with-tcl-search-path=/home/machine/hts/ActiveTcl/bin --with-hts-search-path=/home/machine/hts/htk/HTKTools --with-fest-search-path=/usr/share/festival/examples --with-sptk-search-path=/home/machine/hts/SPTK-3.5/programs --with-hts-engine-search-path=/home/machine/hts/hts_engine_API-1.06/bin ADAPTSPK=rms SPEAKER=rms TRAINSPKR='bdl clb jmk slt' F0_RANGES='bdl 40 210 clb 130 260 jmk 50 180 slt 110 280 rms 40 200'

 

But this resulted in the identical "Order of speakers" error.

 

So, I guess my first question is what would be a known-working set of ./configure arguments for doing what I'm trying to do (adapt the demo with rms instead of slt). My second question, only in the event that one of those known-working sets of arguments matches one of the three that I've tried, is where to begin troubleshooting the errors I'm getting when I'm using the right arguments. Thank you!


Follow-Ups
[hts-users:03147] Re: Fatal error "can't shift that many" with HTS-demo_CMU-ARCTIC-ADAPT, winkler
References
[hts-users:03143] Re: HTS ERROR 7220, Umair Anjum
[hts-users:03140] HTS ERROR 7220, Umair Anjum
[hts-users:03142] Re: HTS ERROR 7220, 那兴宇
[hts-users:03144] Re: HTS ERROR 7220, 那兴宇
[hts-users:03145] Fatal error "can't shift that many" with HTS-demo_CMU-ARCTIC-ADAPT, winkler