General Discussion

Flat
FLAT START MONOPHONES: Step#6 Issue ..!!
User: srivmuk
Date: 12/2/2014 7:49 am
Views: 5406
Rating: 1

All,

I am newbie and following Voxforge STEP#6 link - http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/monophones/step-6 for creating FLAT START MONOPHONES.

I tried below command but getting errors as -

---

$ HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0
HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0

HTK Configuration Parameters[10]
  Module/Tool     Parameter                  Value
#                 NUMCEPS                       12
#                 CEPLIFTER                     22
#                 NUMCHANS                      26
#                 PREEMCOEF               0.970000
#                 USEHAMMING                  TRUE
#                 WINDOWSIZE         250000.000000
#                 SAVEWITHCRC                 TRUE
#                 SAVECOMPRESSED              TRUE
#                 TARGETRATE         100000.000000
#                 TARGETKIND          MFCC_0_D_N_Z

HERest  ML Updating: Transitions Means Variances

 System is PLAIN
38 Logical/38 Physical Models Loaded, VecSize=25
2 MMF input files
Pruning-On[250.0 150.0 1000.0]
 Processing Data: cima1.mfc; Label X1.lab
  ERROR [+6510]  LOpen: Unable to open label file ../train/mfcc/X1.lab
 FATAL ERROR - Terminating program HERest
---

But, if I HACK as -

P { margin-bottom: 0.21cm; }A:link { }

“cp ../../manual/phones0.mlf .” to /train/mfcc folder, rename as .lab file. Delete first two lines, last '.' line and remove 'sil' from .lab file. Huuuuh..  it works as -

---

$ HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0
HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0

HTK Configuration Parameters[10]
  Module/Tool     Parameter                  Value
#                 NUMCEPS                       12
#                 CEPLIFTER                     22
#                 NUMCHANS                      26
#                 PREEMCOEF               0.970000
#                 USEHAMMING                  TRUE
#                 WINDOWSIZE         250000.000000
#                 SAVEWITHCRC                 TRUE
#                 SAVECOMPRESSED              TRUE
#                 TARGETRATE         100000.000000
#                 TARGETKIND          MFCC_0_D_N_Z

HERest  ML Updating: Transitions Means Variances

 System is PLAIN
38 Logical/38 Physical Models Loaded, VecSize=25
2 MMF input files
Pruning-On[250.0 150.0 1000.0]
 Processing Data: X1.mfc; Label X1.lab
 Utterance prob per frame = -6.575663e+01
 WARNING [-2331]  UpdateModels: a[1] copied: only 1 egs
 in HERest
 WARNING [-2331]  UpdateModels: g[5] copied: only 1 egs
 in HERest
 WARNING [-2331]  UpdateModels: v[14] copied: only 2 egs
 in HERest
 WARNING [-2331]  UpdateModels: aw[22] copied: only 1 egs
 in HERest
 WARNING [-2331]  UpdateModels: en[28] copied: only 1 egs
 in HERest
 WARNING [-2331]  UpdateModels: sh[36] copied: only 1 egs
 in HERest
Saving hmm's to dir hmm1
Reestimation complete - average log prob per frame = -6.575663e+01
     - total frames seen          = 5.998000e+03

HTK Configuration Parameters[10]
  Module/Tool     Parameter                  Value
                  NUMCEPS                       12
                  CEPLIFTER                     22
                  NUMCHANS                      26
                  PREEMCOEF               0.970000
                  USEHAMMING                  TRUE
                  WINDOWSIZE         250000.000000
                  SAVEWITHCRC                 TRUE
                  SAVECOMPRESSED              TRUE
                  TARGETRATE         100000.000000
                  TARGETKIND          MFCC_0_D_N_Z

---


I know the way I HACK is NOT proper way.

Please suggest. Thanks ..!!

Re: FLAT START MONOPHONES: Step#6 Issue ..!!
User: nsh
Date: 12/4/2014 8:08 pm
Views: 2745
Rating: 2

>   ERROR [+6510]  LOpen: Unable to open label file ../train/mfcc/X1.lab

It tries to look into phones0.mlf for label for X1.lab and doesn't find it. You need to look into phones0.mlf file yourself and check what labels are there and why label for X1.lab is missing. If it's really missing you need to return to previous step when phones0.mlf was created.

If you don't know the reasons you have an option to share your files, that will enable us to suggest you more detailed solution.

 

 

PreviousNext