Hi,
I encountered the same problem once.
You should check the utterences which the error phones belong. In my case, the spectral features are much shorter than the time boundaries given by the labels, which was caused by a long silence in the middle of an utterence. MGCEP and MCEP in SPTK do not deal with this well.
Write a script to check the length of the feature file and the length given by the label. Find the ones whose time do not agree much. Exclude those utterences and the training should work fine.
tip: The error log may tell you which one it belongs to. In this case, HInit works fine but HRest fails, so I think it is a same situation.
--
Xingyu Na (那兴宇)
Beijing Institute of Technology
naxingyu at {facebook, twitter, linkedin}
At 2012-04-15 03:50:59,"Sarah Negreiros" <
sarah.negreiros@xxxxxxxxx> wrote:
Hello Le Maguer,
Models generated by HInit appear ok... I get that error just with 3 phones. For others phones go ok.
Do you have some idea how solve it?
thank you
Sarah
2012/4/14 Sébastien Le Maguer
<Sebastien.Le_maguer@xxxxxxxx>
Hello,
I suggest you to check if they were no error in the model generated from HInit.
Regards,
Sébastien Le Maguer
Le 14/04/2012 19:09, Sarah Negreiros a écrit :
Hello,
I am training my data with straight, but I get this error using in function: HInit & HRest (initialization & reestimation):
ERROR [+2226] ReEstimateModel: No Usable Training Examples FATAL ERROR - Terminating program /usr/local/HTS-2.2beta/bin//HRest
What I need do?
=============== i ================
/usr/local/HTS-2.2beta/bin//HInit -A -C /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/configs/trn.cnf -D -T 1 -S /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/data/scp/train.scp -m 1 -u tmvw -w 5000 -H /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/init.mmf -M /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/HInit -I /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/data/labels/mono.mlf -l i -o i /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/proto/qst001/ver1/state-5_stream-5_mgc-120_lf0-3_bap-78.prt
HTK Configuration Parameters[8]
Module/Tool Parameter Value
# MINDUR 5
# MAXSTDDEVCOEF 10
# APPLYDURVARFLOOR TRUE
# DURVARFLOORPERCENTILE 1.000000
# VFLOORSCALESTR Vector 5 0.01 0.01 0.01 0.01 0.01
# NATURALWRITEORDER TRUE
# NATURALREADORDER TRUE
# APPLYVFLOOR TRUE
Initialising HMM /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/proto/qst001/ver1/state-5_stream-5_mgc-120_lf0-3_bap-78.prt . . .
States : 2 3 4 5 6 (width)
Mixes s1: 1 1 1 1 1 ( 120 )
( 120 )
Num Using: 0 0 0 0 0
Mixes s2: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s3: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s4: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s5: 1 1 1 1 1 ( 78 )
( 78 )
Num Using: 0 0 0 0 0
Parm Kind: USER
Number of owners = 1
SegLab : i
maxIter : 20
epsilon : 0.000100
minSeg : 1
Updating : Means Variances MixWeights/DProbs TransProbs
- system is PLAIN
554 Observation Sequences Loaded
Starting Estimation Process
Iteration 1: Average LogP =-46054.89844
Iteration 2: Average LogP =-21014336.00000 Change =-20968282.00000
Iteration 3: Average LogP =-44644.95703 Change =20969692.00000
Iteration 4: Average LogP =-43724.48438 Change = 920.47266
Iteration 5: Average LogP =-43402.63281 Change = 321.85156
Iteration 6: Average LogP =-43286.90625 Change = 115.72656
Iteration 7: Average LogP =-43154.82422 Change = 132.08203
Iteration 8: Average LogP =-43037.49609 Change = 117.32812
Iteration 9: Average LogP =-42699.92578 Change = 337.57031
Iteration 10: Average LogP =-42337.01562 Change = 362.91016
Iteration 11: Average LogP =-42335.08203 Change = 1.93359
Iteration 12: Average LogP =-42335.08203 Change = 0.00000
Estimation converged at iteration 13
Output written to directory /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/HInit
HTK Configuration Parameters[8]
Module/Tool Parameter Value
# MINDUR 5
# MAXSTDDEVCOEF 10
# APPLYDURVARFLOOR TRUE
# DURVARFLOORPERCENTILE 1.000000
# VFLOORSCALESTR Vector 5 0.01 0.01 0.01 0.01 0.01
NATURALWRITEORDER TRUE
NATURALREADORDER TRUE
# APPLYVFLOOR TRUE
/usr/local/HTS-2.2beta/bin//HRest -A -C /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/configs/trn.cnf -D -T 1 -S /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/data/scp/train.scp -m 1 -u tmvw -w 5000 -H /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/init.mmf -M /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/HRest -I /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/data/labels/mono.mlf -i 100 -l i -g /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/dur/HRest/i /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/HInit/i
HTK Configuration Parameters[8]
Module/Tool Parameter Value
# MINDUR 5
# MAXSTDDEVCOEF 10
# APPLYDURVARFLOOR TRUE
# DURVARFLOORPERCENTILE 1.000000
# VFLOORSCALESTR Vector 5 0.01 0.01 0.01 0.01 0.01
# NATURALWRITEORDER TRUE
# NATURALREADORDER TRUE
# APPLYVFLOOR TRUE
Reestimating HMM /opt/HTS-demo_CMU-ARCTIC-SLT_STRAIGHT/PB_16KHz_MC39_log/models/qst001/ver1/cmp/HInit/i . . .
States : 2 3 4 5 6 (width)
Mixes s1: 1 1 1 1 1 ( 120 )
( 120 )
Num Using: 0 0 0 0 0
Mixes s2: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s3: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s4: 2 2 2 2 2 ( 1 )
( MSD <= 1 )
Num Using: 0 0 0 0 0
Mixes s5: 1 1 1 1 1 ( 78 )
( 78 )
Num Using: 0 0 0 0 0
Parm Kind: USER
Number of owners = 1
SegLab : i
MaxIter : 100
Epsilon : 0.000100
Updating : Transitions Means Variances
- system is PLAIN
554 Examples loaded, Max length = 60, Min length = 6
Example 7 skipped
Example 18 skipped
Example 27 skipped
Example 39 skipped
...
Example 520 skipped
Ave LogProb at iter 2 = -1671369088.00000 using 516 examples change = -1671328128.00000
Example 1 skipped
Example 2 skipped
Example 3 skipped
...
Example 552 skipped
Example 553 skipped
Example 554 skipped
ERROR [+2226] ReEstimateModel: No Usable Training Examples
FATAL ERROR - Terminating program /usr/local/HTS-2.2beta/bin//HRest