This is what I did yesterday:
- I used the Voxforge German acoustic model (voxforge_de_simon-2010-04-23.tar.bz2) as static base model.
- Used the German Tastatur scenario.
- From the shadow dictionary (Ralf’s German dictionary) I trained the word angehören.
- Selected the option adapted base model (instead of static base model).
- Then an error message appeared:
As the server compiled the model the following error occurred:
Could not adapt the base model. Please check your paths to HERest (/usr/local/bin/HERest).
Here is what I am doing right now: I want to take a closer look at the error message:
Preperation
Generating wordlist…
Creating monophones…
“/usr/local/bin/HDMan” -A -D -T 1 -m -w “/tmp/kde-ubuntu/simond/default/compile//wlist” -g “/usr/share/kde4/apps/simon/scripts/global.ded” -n “/tmp/kde-ubuntu/simond/default/compile//monophones1” -i “/tmp/kde-ubuntu/simond/default/compile//dict” “/tmp/kde-ubuntu/simond/default/compile//lexicon”
[...]
No HTK Configuration Parameters Set [<- How could I solve this issue?][...]
“/usr/local/bin/HLEd” -A -D -T 1 -l “*” -d “/tmp/kde-ubuntu/simond/default/compile//dict” -i “/tmp/kde-ubuntu/simond/default/compile//phones0.mlf” “/usr/share/kde4/apps/simon/scripts/mkphones0.led” “/tmp/kde-ubuntu/simond/default/compile//words.mlf”
Generating Master Label File…
[...]No HTK Configuration Parameters Set
Editing file: angehören_S1_2010-07-12_19-54-08.0.lab
11 adds; 1 deletes; 0 replaces; 0 changes; 0 mergesNo HTK Configuration Parameters Set
“/usr/local/bin/HLEd” -A -D -T 1 -l “*” -d “/tmp/kde-ubuntu/simond/default/compile//dict” -i “/tmp/kde-ubuntu/simond/default/compile//phones1.mlf” “/usr/share/kde4/apps/simon/scripts/mkphones1.led” “/tmp/kde-ubuntu/simond/default/compile//words.mlf”
[...]
No HTK Configuration Parameters SetEditing file: angehören_S1_2010-07-12_19-54-08.0.lab
11 adds; 0 deletes; 0 replaces; 0 changes; 0 mergesNo HTK Configuration Parameters Set
Coding audio files…
“/usr/local/bin/HCopy” -A -D -T 1 -C “/home/ubuntu/.kde/share/apps/simond/models/default/src/2010-07-12_19-54-31/wav_config” -S “/tmp/kde-ubuntu/simond/default/compile//codetrain.scp”
[...]/home/ubuntu/.kde/share/apps/simond/models/default/samples//angehören_S1_2010-07-12_19-54-08.0.wav
-> /tmp/kde-ubuntu/simond/default/compile//mfcs/angehören_S1_2010-07-12_19-54-08.0.mfc
[...]
“/usr/local/bin/HVite” -A -D -T 1 -l “*” -o SWT -b SENT-END -C “/usr/share/kde4/apps/simon/scripts/config” -H “/home/ubuntu/.kde/share/apps/simond/models/default/active/basemacros” -H “/home/ubuntu/.kde/share/apps/simond/models/default/active/basehmmdefs” -i “/tmp/kde-ubuntu/simond/default/compile//adaptPhones.mlf” -m -t 250.0 150.0 1000.0 -y lab -a -I “/tmp/kde-ubuntu/simond/default/compile//words.mlf” -S “/tmp/kde-ubuntu/simond/default/compile//train.scp” “/tmp/kde-ubuntu/simond/default/compile//dict” “/home/ubuntu/.kde/share/apps/simond/models/default/active/basetiedlist”
Re-aligninging to base model…
[...]Read 2697 physical / 9729 logical HMMs
Label file will be used to align each file
Aligning File: /tmp/kde-ubuntu/simond/default/compile//mfcs/angehören_S1_2010-07-12_19-54-08.0.mfc
Created lattice with 3 nodes / 2 arcs from label file
SENT-END ANGEHÖREN SENT-END == [476 frames] -59.0359 [Ac=-28101.1 LM=0.0] (Act=5.4)
[...]
“/usr/local/bin/HHEd” -H “/home/ubuntu/.kde/share/apps/simond/models/default/active/basemacros” -H “/home/ubuntu/.kde/share/apps/simond/models/default/active/basehmmdefs” -M “/tmp/kde-ubuntu/simond/default/compile//classes/” “/tmp/kde-ubuntu/simond/default/compile//regtree.hed” “/home/ubuntu/.kde/share/apps/simond/models/default/active/basetiedlist”
Generating regtree.hed…
Creating regression class tree…
Performing static adaption…
“/usr/local/bin/HERest” -C “/usr/share/kde4/apps/simon/scripts/config” -C “/usr/share/kde4/apps/simon/scripts/config.global” -I “/tmp/kde-ubuntu/simond/default/compile//adaptPhones.mlf” -S “/tmp/kde-ubuntu/simond/default/compile//aligned.scp” -H “/tmp/kde-ubuntu/simond/default/compile/classes/basemacros” -u a -J “/tmp/kde-ubuntu/simond/default/compile//classes” -K “/tmp/kde-ubuntu/simond/default/compile//xforms” mllr1 -H “/tmp/kde-ubuntu/simond/default/compile//classes/basehmmdefs” “/home/ubuntu/.kde/share/apps/simond/models/default/active/basetiedlist”
ERROR [+5010] InitSource: Cannot open source file /tmp/kde-ubuntu/simond/default/compile/classes/basemacros
ERROR [+7010] LoadAllMacros: Can’t open file
ERROR [+5010] InitSource: Cannot open source file /tmp/kde-ubuntu/simond/default/compile//classes/basehmmdefs
ERROR [+7010] LoadAllMacros: Can’t open file
ERROR [+7050] LoadHMMSet: Macro name expected
ERROR [+2321] Initialise: LoadHMMSet failed
FATAL ERROR – Terminating program /usr/local/bin/HERest
I would like to adapt the German simon Voxforge base model. But obviously, there is a problem with HERest.
Tags: de
Is this reproducable? It works for me…
Regards,
Peter
I don’t know whether it is reproducible. I think that I will generate my own speech models from scratch (using the
User generated modeloption).