VoxForge
hello t friends !!!!!!!!!
while running scripts_pl/runall.pl , i encoutered the following errors
only 0 parts of 1 of baum welch were sucessfully completed
part 1 failed to run!
training failed in iteration 1
something failed<C:/project/myproject/scripts_pl/20.ci_hmm/slave_convg.pl>
bw.exe stopeed working
please anyone help
--- (Edited on 5/18/2010 7:06 am [GMT-0500] by kas) ---
Please provide more information about your problem. In particular you need to check the log in logdir subfolder. It usually contains more information about problem.
--- (Edited on 5/18/2010 19:47 [GMT+0400] by nsh) ---
hey,
i tried to run the follwing command perl RunAll.pl
but its giving
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at RunAll.pl line 48.
BEGIN failed--compilation aborted at RunAll.pl line 48.
--- (Edited on 5/25/2010 6:18 am [GMT-0500] by amitkr) ---
> i tried to run the follwing command perl RunAll.pl
It's important in which folder you are running this command. It must be training root folder, not scripts_pl folder. So the proper way would be
cd model_folder
perl ./scripts_pl/RunAll.pl
--- (Edited on 5/25/2010 21:33 [GMT+0400] by nsh) ---
thanks for ur help...
I tried this following command:
[bharati@Bharati-Speech SphinxTrain]$ perl scripts_pl/RunAll.pl
\MODULE: 00 verify training files
O.S. is case sensitive ("A" != "a").
Phones will be treated as case sensitive.
Phase 1: DICT - Checking to see if the dict and filler dict agrees with the phonelist file.
Found 133 words using 34 phones
Phase 2: DICT - Checking to make sure there are not duplicate entries in the dictionary
Phase 3: CTL - Check general format; utterance length (must be positive); files exist
Phase 4: CTL - Checking number of lines in the transcript should match lines in control file
Phase 5: CTL - Determine amount of training data, see if n_tied_states seems reasonable.
Total Hours Training: 0.704874786324802
This is a small amount of data, no comment at this time
Phase 6: TRANSCRIPT - Checking that all the words in the transcript are in the dictionary
Words in dictionary: 130
Words in filler dictionary: 3
Phase 7: TRANSCRIPT - Checking that all the phones in the transcript are in the phonelist, and all phones in the phonelist appear at least once
MODULE: 01 Vector Quantization
Skipped for continuous models
MODULE: 02 Training Context Independent models for forced alignment and VTLN
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
MODULE: 03 Force-aligning transcripts
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
MODULE: 04 Force-aligning data for VTLN
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
MODULE: 05 Train LDA transformation
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
MODULE: 06 Train MLLT transformation
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
MODULE: 20 Training Context Independent models
Phase 1: Cleaning up directories:
accumulator...logs...qmanager...models...
Phase 2: Flat initialize
Phase 3: Forward-Backward
Baum welch starting for 1 Gaussian(s), iteration: 1 (1 of 1)
0% FATAL_ERROR: "mod_inv.c", line 185: mean file contains a different # of Gaussian densities, 8, per mixture than previously defined, 1
Failed to start bw
Failed to copy /home/bhrati/Desktop/an4/model_architecture/an4.ci.mdef to /home/bhrati/Desktop/an4/model_parameters/an4.ci_cont/mdef: Permission denied at /home/bhrati/Desktop/an4/scripts_pl/20.ci_hmm/norm.pl line 90.
Current Overall Likelihood Per Frame = -6.96099447339583
Baum welch starting for 1 Gaussian(s), iteration: 2 (1 of 1)
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
there is this FATAL ERROR and its not proceeding after this..
plzz help as its very imp for me and I'm new to this field so kindly explain in details...
--- (Edited on 5/26/2010 2:40 am [GMT-0500] by Visitor) ---
hey,
I overcame that problem but after giving the following command:
[root@Bharati-Speech an4]# perl scripts_pl/decode/slave.pl
Can't locate /home/bhrati/Desktop/an4/scripts_pl/util/utils.pl in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at etc/sphinx_decode.cfg line 23.
Compilation failed in require at scripts_pl/decode/slave.pl line 52.
In an4/scripts_pl directory there is no util directory..
even from sphinxtrain folder error is showing:
[root@Bharati-Speech SphinxTrain]# perl scripts_pl/decode/slave.pl
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at scripts_pl/decode/slave.pl line 45.
BEGIN failed--compilation aborted at scripts_pl/decode/slave.pl line 45.
in slave.pl line 45 contain :
use SphinxTrain::Util ;
In SphinxTrain/scripts_pl directory there is no util directory..
I'm using sphinxtrain 3 0.6.3.tar.gz
plzz guide me in this only...
what should i do plzz guide me.....
--- (Edited on 5/26/2010 3:21 am [GMT-0500] by amitkr) ---
--- (Edited on 5/26/2010 5:06 am [GMT-0500] by amitkr) ---
--- (Edited on 5/26/2010 5:30 am [GMT-0500] by amitkr) ---
> In an4/scripts_pl directory there is no util directory..
You need to make sure you are using recent sphinx3 and that slave.pl script is taken from sphinxtrain scrips_pl folder. It should have
use SphinxTrain::Util;
on line 46. Make sure you follow instructions precisely.
The file Util.pm should be located in scripts_pl/lib/SphinxTrain/Util.pm
> even from sphinxtrain folder error is showing:
You must run this command in an4 folder, not in sphinxtrain folder
--- (Edited on 5/26/2010 14:23 [GMT+0400] by nsh) ---
thanx for ur help..
utils.pm is there in SphinxTrain/scripts_pl/lib/SphinxTrain
and line 45 has use SphinxTrain::Util; in slave.pl in SphinxTrain/scripts_pl/decode folder
I'hv copied the slave.pl file from sphinxtrain and saved it in the an4's decode folder,after this i gave the following command:
[root@Bharati-Speech an4]# perl scripts_pl/decode/slave.pl
MODULE: DECODE Decoding using models previously trained
Aligning results to find error rate
Can't open for reading
I tried outside root also:
[bharati@Bharati-Speech an4]$ perl scripts_pl/decode/slave.pl
MODULE: DECODE Decoding using models previously trained
Aligning results to find error rate
Can't open file /.match
It's giving this...where will i get /.match file ..I've read an4.html file i didn't get any thing..what nxt i shld do ...plzzz hlp as I'm alone and new to dis field..
--- (Edited on 5/26/2010 6:31 am [GMT-0500] by amitkr) ---
--- (Edited on 5/26/2010 8:40 am [GMT-0500] by amitkr) ---
hi,
thanks for the reply
I didn't get any decode folder in an4/lodir.there r the following folders:
01.vector_quantize
20.ci_hmm
30.cd_hmm_untied
40.buildtrees
45.prunetree
50.cd_hmm_tied
90.deleted_interpolation
99.make_s2_models
I'm sending u my logfile:
O.S. is case sensitive ("A" != "a").
Phones will be treated as case sensitive.
Phase 1: DICT - Checking to see if the dict and filler dict agrees with the phonelist file.
Found 133 words using 34 phones
passed
Phase 2: DICT - Checking to make sure there are not duplicate entries in the dictionary
passed
Phase 3: CTL - Check general format; utterance length (must be positive); files exist
passed
Phase 4: CTL - Checking number of lines in the transcript should match lines in control file
passed
Phase 5: CTL - Determine amount of training data, see if n_tied_states seems reasonable.
Total Hours Training: 0.704874786324802
This is a small amount of data, no comment at this time
WARNING
Phase 6: TRANSCRIPT - Checking that all the words in the transcript are in the dictionary
Words in dictionary: 130
Words in filler dictionary: 3
passed
Phase 7: TRANSCRIPT - Checking that all the phones in the transcript are in the phonelist, and all phones in the phonelist appear at least once
passed
agg_seg Log File
completed
kmeans_init Log File
completed
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
Phase 1: Cleaning up directories:
accumulator... logs... qmanager... models... completed
Phase 2: Flat initialize
mk_mdef_gen Log File
completed
mk_flat Log File
completed
Phase 3: Forward-Backward
Baum welch starting for 1 Gaussian(s), iteration: 1 (1 of 1)
bw Log File
completed
Normalization for iteration: 1
norm Log File
This step had 10 ERROR messages and 37 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = -11.1623370992029
Baum welch starting for 1 Gaussian(s), iteration: 2 (1 of 1)
bw Log File
completed
Normalization for iteration: 2
norm Log File
WARNING: This step had 0 ERROR messages and 33 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = -0.59943117761607
Convergence Ratio = 0.946298774863297
Baum welch starting for 1 Gaussian(s), iteration: 3 (1 of 1)
bw Log File
completed
Normalization for iteration: 3
norm Log File
WARNING: This step had 0 ERROR messages and 33 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 2.29680190159333
Convergence Ratio = 4.83163570291369
Baum welch starting for 1 Gaussian(s), iteration: 4 (1 of 1)
bw Log File
completed
Normalization for iteration: 4
norm Log File
WARNING: This step had 0 ERROR messages and 29 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 3.61902736496874
Convergence Ratio = 0.575681107917126
Baum welch starting for 1 Gaussian(s), iteration: 5 (1 of 1)
bw Log File
completed
Normalization for iteration: 5
norm Log File
WARNING: This step had 0 ERROR messages and 29 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 4.21079540527117
Convergence Ratio = 0.163515768361021
Baum welch starting for 1 Gaussian(s), iteration: 6 (1 of 1)
bw Log File
completed
Normalization for iteration: 6
norm Log File
WARNING: This step had 0 ERROR messages and 29 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 4.50940153420424
Convergence Ratio = 0.0709144235693021
Baum welch starting for 1 Gaussian(s), iteration: 7 (1 of 1)
bw Log File
completed
Normalization for iteration: 7
norm Log File
WARNING: This step had 0 ERROR messages and 29 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 4.68885060824181
Training completed after 7 iterations
Phase 1: Cleaning up directories:
accumulator... logs... qmanager... completed
Phase 2: Initialization
mk_mdef_gen Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
init_mixw Log File
completed
Phase 3: Forward-Backward
Baum welch starting for iteration: 1 (1 of 1)
bw Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Normalization for iteration: 1
norm Log File
WARNING: This step had 0 ERROR messages and 31 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 1.58183867992211
Baum welch starting for iteration: 2 (1 of 1)
bw Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Normalization for iteration: 2
norm Log File
WARNING: This step had 0 ERROR messages and 31 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 4.48009712947706
Convergence Ratio = 1.83220861036074
Baum welch starting for iteration: 3 (1 of 1)
bw Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Normalization for iteration: 3
norm Log File
WARNING: This step had 0 ERROR messages and 31 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 4.92541843725609
Convergence Ratio = 0.0993999225706547
Baum welch starting for iteration: 4 (1 of 1)
bw Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Normalization for iteration: 4
norm Log File
WARNING: This step had 0 ERROR messages and 31 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 5.16773756119867
Convergence Ratio = 0.0491976726504419
Baum welch starting for iteration: 5 (1 of 1)
bw Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Normalization for iteration: 5
norm Log File
WARNING: This step had 0 ERROR messages and 31 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 5.35013520864705
Training completed after 5 iterations
Phase 1: Cleaning up old log files...
Phase 2: Make Questions
make_quests Log File
completed
Phase 3: Tree building
Processing each phone with each state
AA 0
bldtree Log File
completed
AA 1
bldtree Log File
completed
AA 2
bldtree Log File
completed
AA 3
bldtree Log File
completed
AA 4
bldtree Log File
completed
AE 0
bldtree Log File
completed
AE 1
bldtree Log File
completed
AE 2
bldtree Log File
completed
AE 3
bldtree Log File
completed
AE 4
bldtree Log File
completed
AH 0
bldtree Log File
completed
AH 1
bldtree Log File
completed
AH 2
bldtree Log File
completed
AH 3
bldtree Log File
completed
AH 4
bldtree Log File
completed
AO 0
bldtree Log File
completed
AO 1
bldtree Log File
completed
AO 2
bldtree Log File
completed
AO 3
bldtree Log File
completed
AO 4
bldtree Log File
completed
AW 0
bldtree Log File
completed
AW 1
bldtree Log File
completed
AW 2
bldtree Log File
completed
AW 3
bldtree Log File
completed
AW 4
bldtree Log File
completed
AY 0
bldtree Log File
completed
AY 1
bldtree Log File
completed
AY 2
bldtree Log File
completed
AY 3
bldtree Log File
completed
AY 4
bldtree Log File
completed
B 0
bldtree Log File
completed
B 1
bldtree Log File
completed
B 2
bldtree Log File
completed
B 3
bldtree Log File
completed
B 4
bldtree Log File
completed
CH 0
bldtree Log File
completed
CH 1
bldtree Log File
completed
CH 2
bldtree Log File
completed
CH 3
bldtree Log File
completed
CH 4
bldtree Log File
completed
D 0
bldtree Log File
completed
D 1
bldtree Log File
completed
D 2
bldtree Log File
completed
D 3
bldtree Log File
completed
D 4
bldtree Log File
completed
EH 0
bldtree Log File
completed
EH 1
bldtree Log File
completed
EH 2
bldtree Log File
completed
EH 3
bldtree Log File
completed
EH 4
bldtree Log File
completed
ER 0
bldtree Log File
completed
ER 1
bldtree Log File
completed
ER 2
bldtree Log File
completed
ER 3
bldtree Log File
completed
ER 4
bldtree Log File
completed
EY 0
bldtree Log File
completed
EY 1
bldtree Log File
completed
EY 2
bldtree Log File
completed
EY 3
bldtree Log File
completed
EY 4
bldtree Log File
completed
F 0
bldtree Log File
completed
F 1
bldtree Log File
completed
F 2
bldtree Log File
completed
F 3
bldtree Log File
completed
F 4
bldtree Log File
completed
G 0
bldtree Log File
completed
G 1
bldtree Log File
completed
G 2
bldtree Log File
completed
G 3
bldtree Log File
completed
G 4
bldtree Log File
completed
HH 0
bldtree Log File
completed
HH 1
bldtree Log File
completed
HH 2
bldtree Log File
completed
HH 3
bldtree Log File
completed
HH 4
bldtree Log File
completed
IH 0
bldtree Log File
completed
IH 1
bldtree Log File
completed
IH 2
bldtree Log File
completed
IH 3
bldtree Log File
completed
IH 4
bldtree Log File
completed
IY 0
bldtree Log File
completed
IY 1
bldtree Log File
completed
IY 2
bldtree Log File
completed
IY 3
bldtree Log File
completed
IY 4
bldtree Log File
completed
JH 0
bldtree Log File
completed
JH 1
bldtree Log File
completed
JH 2
bldtree Log File
completed
JH 3
bldtree Log File
completed
JH 4
bldtree Log File
completed
K 0
bldtree Log File
completed
K 1
bldtree Log File
completed
K 2
bldtree Log File
completed
K 3
bldtree Log File
completed
K 4
bldtree Log File
completed
L 0
bldtree Log File
completed
L 1
bldtree Log File
completed
L 2
bldtree Log File
completed
L 3
bldtree Log File
completed
L 4
bldtree Log File
completed
M 0
bldtree Log File
completed
M 1
bldtree Log File
completed
M 2
bldtree Log File
completed
M 3
bldtree Log File
completed
M 4
bldtree Log File
completed
N 0
bldtree Log File
completed
N 1
bldtree Log File
completed
N 2
bldtree Log File
completed
N 3
bldtree Log File
completed
N 4
bldtree Log File
completed
OW 0
bldtree Log File
completed
OW 1
bldtree Log File
completed
OW 2
bldtree Log File
completed
OW 3
bldtree Log File
completed
OW 4
bldtree Log File
completed
P 0
bldtree Log File
completed
P 1
bldtree Log File
completed
P 2
bldtree Log File
completed
P 3
bldtree Log File
completed
P 4
bldtree Log File
completed
R 0
bldtree Log File
completed
R 1
bldtree Log File
completed
R 2
bldtree Log File
completed
R 3
bldtree Log File
completed
R 4
bldtree Log File
completed
S 0
bldtree Log File
completed
S 1
bldtree Log File
completed
S 2
bldtree Log File
completed
S 3
bldtree Log File
completed
S 4
bldtree Log File
completed
Skipping SIL
T 0
bldtree Log File
completed
T 1
bldtree Log File
completed
T 2
bldtree Log File
completed
T 3
bldtree Log File
completed
T 4
bldtree Log File
completed
TH 0
bldtree Log File
completed
TH 1
bldtree Log File
completed
TH 2
bldtree Log File
completed
TH 3
bldtree Log File
completed
TH 4
bldtree Log File
completed
UW 0
bldtree Log File
completed
UW 1
bldtree Log File
completed
UW 2
bldtree Log File
completed
UW 3
bldtree Log File
completed
UW 4
bldtree Log File
completed
V 0
bldtree Log File
completed
V 1
bldtree Log File
completed
V 2
bldtree Log File
completed
V 3
bldtree Log File
completed
V 4
bldtree Log File
completed
W 0
bldtree Log File
completed
W 1
bldtree Log File
completed
W 2
bldtree Log File
completed
W 3
bldtree Log File
completed
W 4
bldtree Log File
completed
Y 0
bldtree Log File
completed
Y 1
bldtree Log File
completed
Y 2
bldtree Log File
completed
Y 3
bldtree Log File
completed
Y 4
bldtree Log File
completed
Z 0
bldtree Log File
completed
Z 1
bldtree Log File
completed
Z 2
bldtree Log File
completed
Z 3
bldtree Log File
completed
Z 4
bldtree Log File
completed
mk_mdef_gen Log File
completed
Phase 1: Tree Pruning
prunetree Log File
completed
Phase 2: State Tying
tiestate Log File
completed
Phase 1: Cleaning up directories:
accumulator... logs... qmanager... completed
Phase 2: Copy CI to CD initialize
init_mixw Log File
completed
Phase 3: Forward-Backward
Baum welch starting for 1 Gaussian(s), iteration: 1 (1 of 2)
bw Log File
completed
Baum welch starting for 1 Gaussian(s), iteration: 1 (2 of 2)
bw Log File
completed
Normalization for iteration: 1
norm Log File
This step had 10 ERROR messages and 0 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 5.26730946618207
Baum welch starting for 1 Gaussian(s), iteration: 2 (1 of 2)
bw Log File
completed
Baum welch starting for 1 Gaussian(s), iteration: 2 (2 of 2)
bw Log File
completed
Normalization for iteration: 2
norm Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 6.48642513067541
Convergence Ratio = 0.231449409289597
Baum welch starting for 1 Gaussian(s), iteration: 3 (1 of 2)
bw Log File
completed
Baum welch starting for 1 Gaussian(s), iteration: 3 (2 of 2)
bw Log File
completed
Normalization for iteration: 3
norm Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Current Overall Likelihood Per Frame = 6.74156739540054
mk_s2sendump Log File
completed
Training for 1 Gaussian(s) completed after 3 iterations
Phase 1: Cleaning up directories: logs...
Phase 2: Doing interpolation...
delint Log File
WARNING: This step had 0 ERROR messages and 1 WARNING messages. Please check the log file for details.
completed
Phase 3: Dumping senones for PocketSphinx...
mk_s2sendump Log File
completed
Phase 1: Cleaning up old log files...
Phase 2: Copy noise dictionary
Phase 3: Make codebooks
mk_s2cb Log File
completed
Phase 4: Make chmm files
mk_s2hmm Log File
completed
Phase 5: Make senone file
mk_s2sendump Log File
completed
Phase 6: Make phone and map files
mk_s2phonemap Log File
completed
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
Aligning results to find error rate
plzz suggest how to proceed...what i shld do nxt
--- (Edited on 5/27/2010 1:31 am [GMT-0500] by Visitor) ---