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

[hts-users:02264] Re: problem of hts installation


Hi all,

I use another more complicated speech system to test the htk tools, and the testing result is all right, so I think the htk installation is correct. But I am still not sure why the "runDemo" testing is not working.

Many thanks,
Xu

2009/10/29 谢旭 <xiexu2008@xxxxxxxxx>
Hi,

Thanks very much for Heiga, Sébastien, and Xingchi's replys.  I've added the "/usr/local/HTS-2.1/bin" to the $PATH, and it works well for typing "HInit". But I met another question when I did the "runDemo" testing. Please see the following details:

 xiexu@xiexu-laptop:~/Desktop/samples/HTKDemo$ ./runDemo configs/monPlainM1S1.dcf
 Test Config File Read
 =====================
Parameter         Value
-----------------------

hsKind              p
covKind             d
nStreams            1
nMixes              1
Context             m
TiedState           n
VQ_clust            l
HERest_Iter         3
HERest_par_mode     n
Clean_up            y
Trace_tool_calls    y


HCopy               n
HList               n
HQuant              n
HLEd                n
HInit               y
HRest               y
HERest              y
HSmooth             n
HVite               y

Cleaning up directories
Done cleaning


./MakeProtoHMMSet protoconfs/proto_s1_m1_dc.pcf
 Proto Config File Read
 ======================
Parameter         Value
-----------------------

hsKind              p
covKind             d
nStates             3
nStreams            1
sWidths             26
mixes               1
parmKind            MFCC_E_D
vecSize             26
outDir              proto
hmmList             lists/bcplist


Writing HMMSet

Writing HMMDef to proto/S
Writing HMMDef to proto/C
Writing HMMDef to proto/V
Writing HMMDef to proto/N
Writing HMMDef to proto/L


Calling HInit for HMM S
HInit -A -i 10 -L labels/bcplabs/mon -l S -o S -C toolconfs/hinit.conf -D -M hmms/hmm.0 -T 1 proto/S data/train/tr1.mfc data/train/tr2.mfc data/train/tr3.mfc data/train/tr4.mfc data/train/tr5.mfc data/train/tr6.mfc data/train/tr7.mfc

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 KEEPDISTINCT               FALSE
#                 SAVEGLOBOPTS                TRUE
#                 TARGETKIND              MFCC_E_D

HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 120 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 121 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 122 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 123 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 124 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 125 in proto/S
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 126 in proto/S
  ERROR [+7050]  HMError:
  ERROR [+7032]  LoadHMMSet: GetHMMDef failed
  ERROR [+2128]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HInit


Calling HInit for HMM C
HInit -A -i 10 -L labels/bcplabs/mon -l C -o C -C toolconfs/hinit.conf -D -M hmms/hmm.0 -T 1 proto/C data/train/tr1.mfc data/train/tr2.mfc data/train/tr3.mfc data/train/tr4.mfc data/train/tr5.mfc data/train/tr6.mfc data/train/tr7.mfc

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 KEEPDISTINCT               FALSE
#                 SAVEGLOBOPTS                TRUE
#                 TARGETKIND              MFCC_E_D

HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 120 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 121 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 122 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 123 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 124 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 125 in proto/C
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 126 in proto/C
  ERROR [+7050]  HMError:
  ERROR [+7032]  LoadHMMSet: GetHMMDef failed
  ERROR [+2128]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HInit


Calling HInit for HMM V
HInit -A -i 10 -L labels/bcplabs/mon -l V -o V -C toolconfs/hinit.conf -D -M hmms/hmm.0 -T 1 proto/V data/train/tr1.mfc data/train/tr2.mfc data/train/tr3.mfc data/train/tr4.mfc data/train/tr5.mfc data/train/tr6.mfc data/train/tr7.mfc

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 KEEPDISTINCT               FALSE
#                 SAVEGLOBOPTS                TRUE
#                 TARGETKIND              MFCC_E_D

HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 120 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 121 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 122 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 123 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 124 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 125 in proto/V
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 126 in proto/V
  ERROR [+7050]  HMError:
  ERROR [+7032]  LoadHMMSet: GetHMMDef failed
  ERROR [+2128]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HInit


Calling HInit for HMM N
HInit -A -i 10 -L labels/bcplabs/mon -l N -o N -C toolconfs/hinit.conf -D -M hmms/hmm.0 -T 1 proto/N data/train/tr1.mfc data/train/tr2.mfc data/train/tr3.mfc data/train/tr4.mfc data/train/tr5.mfc data/train/tr6.mfc data/train/tr7.mfc

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 KEEPDISTINCT               FALSE
#                 SAVEGLOBOPTS                TRUE
#                 TARGETKIND              MFCC_E_D

HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 120 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 121 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 122 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 123 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 124 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 125 in proto/N
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 126 in proto/N
  ERROR [+7050]  HMError:
  ERROR [+7032]  LoadHMMSet: GetHMMDef failed
  ERROR [+2128]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HInit


Calling HInit for HMM L
HInit -A -i 10 -L labels/bcplabs/mon -l L -o L -C toolconfs/hinit.conf -D -M hmms/hmm.0 -T 1 proto/L data/train/tr1.mfc data/train/tr2.mfc data/train/tr3.mfc data/train/tr4.mfc data/train/tr5.mfc data/train/tr6.mfc data/train/tr7.mfc

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 KEEPDISTINCT               FALSE
#                 SAVEGLOBOPTS                TRUE
#                 TARGETKIND              MFCC_E_D

HMM Def Error: <Mean> symbol expected in GetMean at line 6/col 11/char 120 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 6/col 12/char 121 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 0/char 122 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 1/char 123 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: Get Stream Information failed at line 7/col 2/char 124 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 125 in proto/L
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 126 in proto/L
  ERROR [+7050]  HMError:
  ERROR [+7032]  LoadHMMSet: GetHMMDef failed
  ERROR [+2128]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HInit
Source Directory Empty hmms/hmm.0
xiexu@xiexu-laptop:~/Desktop/samples/HTKDemo$

Anyone has the same experience?

Many thanks,
Xu

2009/10/28 Sebastien LE MAGUER <Sebastien.Le_maguer@xxxxxxxx>

Hi,

I think that "/usr/local/HTS-2.1/bin" is not in the environment variable PATH

regards,
Sébastien


谢旭 a écrit :

Hi all,

I attempted to install the HTS, but some problems appeared. Please help me. The details are following:

After the "make all" step, I did the "make install" step. When the "make install" finished, I inputed "HInit' just to check whether the installation was ok. The result was "bash: HInit: command not found".

The following is the scripts:

xiexu@xiexu-laptop:~/Desktop/
htk$ sudo make install

(cd HTKTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/xiexu/Desktop/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/xiexu/Desktop/htk/HTKTools'
(cd HTKTools && make install) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/xiexu/Desktop/htk/HTKTools'
if [ ! -d /usr/local/HTS-2.1/bin ] ; then mkdir -p /usr/local/HTS-2.1/bin ; fi
for program in HSLab HBuild HCompV HCopy HDMan HERest HHEd HInit HLEd HList HLRescore HLStats HMMIRest HParse HQuant HRest HResults HSGen HSmooth HVite HMGenS ; do /usr/bin/install -c -m 755 ${program} /usr/local/HTS-2.1/bin ; done
make[1]: Leaving directory `/home/xiexu/Desktop/htk/HTKTools'

xiexu@xiexu-laptop:~/Desktop/htk$ HInit
bash: HInit: command not found

Thanks
Xu




Follow-Ups
[hts-users:02265] Re: problem of hts installation, Heiga ZEN (Byung Ha CHUN)
References
[hts-users:02256] problem of hts installation, 谢旭
[hts-users:02260] Re: problem of hts installation, Sebastien LE MAGUER
[hts-users:02263] Re: problem of hts installation, 谢旭