Hello All,
During tests with new version of SphinxTrain (latest trunk) I've encounter the
following error in MODULE: 30 Training Context Dependent models.
The model was successfully created many times on different ST versions -
including the version just before MMIE training - so I have no idea what is
going on .
It might be a bug caused by updated newline handling. Something like empty
line or windows-style \r could cause it. Can you please just add printf to
that file model_def_io and find out what is the value of j and what is
n_total_map and which value is correct and if there are empty lines in mdef
file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanx for a hint, I'll do that and report result to you. In the meantime I
have changed the configuration to use 1s_c feature. This time train failed on
the MODULE: 06 Train MLLT transformation getting the following error in the
norm during flat initialize (strange as with 1s_c_d_dd MLLT was completed
without any problems):
06 MLLT is a stage 2 of LDA-MLLT training. I have downloaded snapshot version
2 days ago, but right now I have reinstalled ST from trunk getting the same
error. After some investigations it seams that gauden_counts is not accessible
because it is not written.
For me it looks like something crashes init_gau for MLLT without causing any
info on log file
permissions are for sure not a problem as 1) these are temporary files created
by ST in stage 1 (lda training) with no problem 2) files are created with no
problem for MLLT but in case of 1s_c_d_dd feature set
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes thats OK. I have 2 environments and I'm running them both. the last run
was on /home/monika so it's ok. It might be confusing for you - sorry about
that - but as these are separate computers there is no chance for me to make
error
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
During tests with new version of SphinxTrain (latest trunk) I've encounter the
following error in MODULE: 30 Training Context Dependent models.
INFO: main.c(261): Reading
/home/marekl/workspace/training/model_architecture/boolware.untied.mdef
bw: model_def_io.c:585: model_def_read: Assertion `j == n_total_map' failed.
The model was successfully created many times on different ST versions -
including the version just before MMIE training - so I have no idea what is
going on .
Used configuration can be seen at https://sourceforge.net/projects/cmusphinx/
forums/forum/382337/topic/3744788?message=8519421 with
exception that in this case 1s_c_d_dd feature was used as well as POSIX queue
on linux
I would be grateful for any suggestion
Marek
Hello Marek
It might be a bug caused by updated newline handling. Something like empty
line or windows-style \r could cause it. Can you please just add printf to
that file model_def_io and find out what is the value of j and what is
n_total_map and which value is correct and if there are empty lines in mdef
file.
Hi Nicolay,
Thanx for a hint, I'll do that and report result to you. In the meantime I
have changed the configuration to use 1s_c feature. This time train failed on
the MODULE: 06 Train MLLT transformation getting the following error in the
norm during flat initialize (strange as with 1s_c_d_dd MLLT was completed
without any problems):
do you have any ideas about this?
ups,
log header was taken from different run the correct is
I double checked - it's for sure not a problem with paths.
That's magic ;)
06 MLLT looks like a really old script. It must be stage 02. Are you sure you
are running last version?
As for no access, it tries to open the file and fails. It might be permission
issue. I have no other hypothesis.
06 MLLT is a stage 2 of LDA-MLLT training. I have downloaded snapshot version
2 days ago, but right now I have reinstalled ST from trunk getting the same
error. After some investigations it seams that gauden_counts is not accessible
because it is not written.
log file from init_gau of this stage looks like
while the same log from previous version of ST is
init_gau log from LDA training step of new ST is pretty similar
For me it looks like something crashes init_gau for MLLT without causing any
info on log file
permissions are for sure not a problem as 1) these are temporary files created
by ST in stage 1 (lda training) with no problem 2) files are created with no
problem for MLLT but in case of 1s_c_d_dd feature set
It writes to /home/monika and not to /home/marekl. Is it ok?
Yes thats OK. I have 2 environments and I'm running them both. the last run
was on /home/monika so it's ok. It might be confusing for you - sorry about
that - but as these are separate computers there is no chance for me to make
error
INFO: main.c(261): Reading
/home/monika/workspace/training/model_architecture/boolware.untied.mdef
boolware.untied.mdef:
boolware.untied.mdef does not contain any \r characters, however there is
empty line at the very end of file (last line is finished with \n)
Hm, can you mail me that mdef. My mail is nshmyrev@nexiwave.com. Also the log
where it was created make_alltriphonelist.log on stage 30.
The fix for this issue is committed in SphinxTrain trunk.
It seems that this change solved assertion problem, thank you very much
Nicolay