I'm making a acoustic model but that fail during the step 05 Vector Quantize.
The exe file kmeans_init seems to crash. MSVS provides a debugger which open
on the file "_file.c". I tried to recompile several times sphinxbase and
sphinxtrain without result.
kmeans_init.exe crash when it go out of this function:
void __cdecl _lock_file (
FILE *pf ){ /** The way the FILE (pointed to by pf) is locked depends on whether
* it is part of _iob[] or not
*/ if ( (pf >= _iob) && (pf <= (&_iob[_IOB_ENTRIES-1])) ) { /** FILE lies in _iob[] so the lock lies in _locktable[].
*/ _lock( _STREAM_LOCKS + (int)(pf - _iob) ); /* We set _IOLOCKED to indicate we locked the stream */ pf->_flag |= _IOLOCKED; } else /** Not part of _iob[]. Therefore, *pf is a _FILEX and the
* lock field of the struct is an initialized critical
* section.
*/ EnterCriticalSection( &(((_FILEX *)pf)->lock) );
}
OS: Windows XP (I don't use Cygwin)
Compiled with MSVS C++ 2010
Sphinx:
pocketSphinx 0.7
sphinxbase 0.7
sphinxtrain 1.0.7
Hi,
I'm making a acoustic model but that fail during the step 05 Vector Quantize.
The exe file kmeans_init seems to crash. MSVS provides a debugger which open
on the file "_file.c". I tried to recompile several times sphinxbase and
sphinxtrain without result.
kmeans_init.exe crash when it go out of this function:
OS: Windows XP (I don't use Cygwin)
Compiled with MSVS C++ 2010
Sphinx:
pocketSphinx 0.7
sphinxbase 0.7
sphinxtrain 1.0.7
There is no information in the logdir, essai.kmeans.log:
Any help is welcome
Nicoeclair
This bug was fixed in latest sources. Please download and try the snapshot of
both sphinxbase and sphinxtrain. Please see also:
http://cmusphinx.sourceforge.net/wiki/faq#qpocketsphinx_crashes_on_windows_in
_lock_file
Thanks for your reply
I don't know how to use this command : sphinxtrain -t an4 setup
There is no file named sphinxtrain.
Is python needed to run it ?
Windows training is not supported in the development version. You still need
to use 1.0.7 scripts, only the binaries must be replaced.
Thanks : )