Menu

A problem when running mllr_solve

Help
2015-09-07
2016-05-10
  • Shereen-Nafie

    Shereen-Nafie - 2015-09-07

    Hi,
    I'm brand new to Sphinx, and have been working through the online tutorials. I've gotten stuck on the "Adapting the default acoustic model" tutorial, when trying to update the acoustic model files with mllr_solve. The previous step, accumulating observation counts, seems to work fine; I'm pasting the only warning listed at the end here:
    WARN: "accum.c", line 628: Over 500 senones never occur in the input data. This is normal for context-dependent untied senone training or for adaptation, but could indicate a serious problem otherwise.
    However, when I run mllr_solve.exe with the parameters suggested in the tutorial, mllr_solve outputs the following:

    INFO: cmd_ln.c(697): Parsing command line:
    mllr_solve \
    -meanfn en-us/means \
    -varfn en-us/variances \
    -outmllrfn mllr_matrix \
    -accumdir .

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -accumdir .,
    -cb2mllrfn .1cls. .1cls.
    -cdonly no no
    -example no no
    -fullvar no no
    -help no no
    -meanfn en-us/means
    -mllradd yes yes
    -mllrmult yes yes
    -moddeffn
    -outmllrfn mllr_matrix
    -varfloor 1e-3 1.000000e-003
    -varfn en-us/variances
    INFO: main.c(382): -- 1. Read input mean, (var) and accumulation.

    Then it immediately crashes, with Windows displaying an error window that says " mllr_solve.exe has stopped working" (unfortunately not a particularly helpful message).
    I went ahead and tried to debug mllr_solve using Visual Studio. VS displayed the following message
    " Unhandled exception at 0x77c08e19 (ntdll.dll) in mllr_solve.exe: 0xC0000005: Access violation writing location 0x00000014. " and debug output:
    'mllr_solve.exe': Loaded 'E:\ArabicSpeechRecognition\sphinxbase\bin\Release\mllr_solve.exe', Symbols loaded.
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Symbols loaded (source information stripped).
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Symbols loaded (source information stripped).
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Symbols loaded (source information stripped).
    'mllr_solve.exe': Loaded 'E:\ArabicSpeechRecognition\sphinxbase\bin\Release\sphinxbase.dll', Binary was not built with debug information.
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\msvcr110.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded (source information stripped).
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
    'mllr_solve.exe': Loaded 'C:\Program Files (x86)\AVG\AVG2015\avghookx.dll', Cannot find or open the PDB file
    The thread 'Win32 Thread' (0x19a4) has exited with code 0 (0x0).
    Unhandled exception at 0x77c08e19 (ntdll.dll) in mllr_solve.exe: 0xC0000005: Access violation writing location 0x00000014.

    How to resolve the problem ?
    Thanks in advance

     
    • Nickolay V. Shmyrev

      This error has been fixed lately. You need to specify model type (ptm) as in tutorial and it will work.

       

Log in to post a comment.