Hi everyone,
I am trying to build my acoustic model on windows (7 64bit) - i have made
everything ready till the Runall.pl command;
as for the sphinxbase, pocketsphinx, sphinxtrain packages - the binaries
compiled from snapshot versions, everything else - from release (as Nickolay
suggested)
the process fails on Phase 2: Flat initialize, when mk_mdef_gen.exe crashes,
and after that the init_gau.exe also appears the appcrash, and the command
line says:
Phase 2: Flat initialize
This step had 1 ERROR messages and 0 WARNING messages. Please check the log fil
e for details.
FATAL: "init_gau.c", line 155: Unable to open C:\COMPANIES\RBOT\2011\CMU_SPHINX\
CMU_Spinx_Wiki\contents\4_Acoustic_Model\TEST5\test\rbot\model_parameters\rbot.c
i_cont_flatinitial\globalmean for reading
Something failed: (C:/COMPANIES/RBOT/2011/CMU_SPHINX/CMU_Spinx_Wiki/contents/4_A
coustic_Model/TEST5/test/rbot/scripts_pl/20.ci_hmm/slave_convg.pl)
i have also a couple of other logfiles, but the errors there just because of
the errors from the logs above - because the rbot.ci.mdef and the globalmean
files are not created (and gauden.counts also)
if i replace the init_gau.exe with the same from the win32.zip (from the
trunk) - this executive works, and creates gauden.counts, but the
mk_mdef_gen.exe and also the norm.exe have an appcrash with similar logs (they
just stop their process and do not write any files (ci.mdef and globalmean)
at this stage i have problems with these executives: mk_mdef_gen.exe and norm.exe
maybe somebody could give me this 2 working executives, or tell me what i
might be doing wrong..
p.s. i tried the training with an4 also, the same effect occurs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
p.p.s. Nickolay, you speak russian, where can i ask my questions in russian?
as i understand, this forum appreciates only english language discussions..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if i replace the init_gau.exe with the same from the win32.zip (from the
trunk) - this executive works, and creates gauden.counts, but the
mk_mdef_gen.exe and also the norm.exe have an appcrash with similar logs (they
just stop their process and do not write any files (ci.mdef and globalmean)
If application crashes it's helpful to provide a stack trace.
where can i ask my questions in russian?
You can ask here
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
вот стак вызовов при падении mk_mdef_gen.exe:
(при открытии VS2010 окно появляется
Необработанное исключение в "0x77243075" в "mk_mdef_gen.exe": 0xC0000005: Нарушение прав доступа при чтении "0x0ad06543".
> ntdll.dll!77243280()
[Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
ntdll.dll!77243587()
ntdll.dll!77243472()
AcXtrnal.dll!5e4aa25d()
kernel32.dll!75c614dd()
mk_mdef_gen.exe!012d647c()
это если mk_mdef_gen.exe взять прямо с сайта, готовый exe из папки win32.zip
если скомпилирован у меня в VS2010, то он тоже падает и вот его стак вызовов:
ntdll.dll!77243075() [Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
AcXtrnal.dll!5e329fc9()
kernel32.dll!75c614dd()
msvcr100.dll!6bca016a()
mk_mdef_gen.exe!00101518()
mk_mdef_gen.exe!00102502()
msvcr100.dll!6bca6286()
msvcr100.dll!6bca6298()
ntdll.dll!7723ec42()
ntdll.dll!7723eb81()
ntdll.dll!7723e951()
ntdll.dll!77242c67()
ntdll.dll!77242c67()
ntdll.dll!77242c81()
ntdll.dll!7723e36c()
ntdll.dll!77275070()
ntdll.dll!77274fd7()
ntdll.dll!77262bfb()
AcXtrnal.dll!5e328a4c()
AcXtrnal.dll!5e32a188()
kernel32.dll!75c614dd()
msvcr100.dll!6bca016a()
sphinxbase.dll!100058a1()
sphinxbase.dll!100127f1()
sphinxbase.dll!10006d84()
sphinxbase.dll!100062e0()
mk_mdef_gen.exe!0010496a()
msvcr100.dll!6bca0350()
msvcr100.dll!6bcaa536()
msvcr100.dll!6bcaa536()
msvcr100.dll!6bcaeeef()
msvcr100.dll!6bcaef34()
sphinxbase.dll!10006298()
mk_mdef_gen.exe!00101bc5()
mk_mdef_gen.exe!00107628()
kernel32.dll!75c6339a()
ntdll.dll!77249ed2()
ntdll.dll!77249ea5()
init_gau.exe, скомпилированный мной (тот что с сайта - рабочий, создает нормально gauden.counts и т.д и не вылетает)
> ntdll.dll!77243075()
[Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
AcXtrnal.dll!5e0c9fc9()
kernel32.dll!75c614dd()
msvcr100.dll!6bca016a()
init_gau.exe!010b76b5()
init_gau.exe!010b1a44()
init_gau.exe!010b2335()
init_gau.exe!010bcffc()
kernel32.dll!75c6339a()
ntdll.dll!77249ed2()
ntdll.dll!77249ea5()
далее norm.exe, взятый с сайта win32.zip: (norm.exe вылетает только если
беру init_gau.exe рабочий с сайта, если init_gau.exe брать компилированный -
он же вылетает, не создает при этом gauden.counts и norm.exe просто не находит
никаких counts, и просто ничего не создает:
, потому и не вылетает - norm.exe вылетает только когда пытается прочитать
gauden.counts, которые существуют и созданы нормально init_gau.exe, опишу его
(norm.exe) стак ниже)
> ntdll.dll!77248da9()
[Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
ntdll.dll!77248cb8()
msvcr100.dll!6bcc88a1()
msvcr100.dll!6bcb2c3c()
sphinxbase.dll!100200a9()
norm.exe!00d86a05()
norm.exe!00d85e33()
ntdll.dll!7723ec42()
ntdll.dll!7723eb81()
ntdll.dll!7723e951()
ntdll.dll!7722f92d()
KernelBase.dll!7653d4b5()
ntdll.dll!7722f92d()
KernelBase.dll!7653d4b5()
kernel32.dll!75c612cc()
msvcr100.dll!6bcaf0b7()
msvcr100.dll!6bcaec6b()
KernelBase.dll!76541029()
ntdll.dll!7723ec42()
ntdll.dll!7723eb81()
ntdll.dll!7723e951()
ntdll.dll!7723f9f9()
ntdll.dll!7723fe6e()
ntdll.dll!7723fd0f()
KernelBase.dll!76541029()
msvcr100.dll!6bca6286()
msvcr100.dll!6bca62e2()
norm.exe!00d9547b()
ntdll.dll!7722ff8e()
KernelBase.dll!7653d1c9()
msvcr100.dll!6bcf71ee()
msvcr100.dll!6bcaef34()
sphinxbase.dll!1000a935()
sphinxbase.dll!100060c0()
norm.exe!00d829f7()
norm.exe!00d885a8()
kernel32.dll!75c6339a()
ntdll.dll!77249ed2()
ntdll.dll!77249ea5()
и скомпилированный мной (Release):
(окошко появляется Необработанное исключение в "0x7723e39e" в "norm.exe":
0xC0000005: Нарушение прав доступа при чтении "0x36bc7a6c".)
> ntdll.dll!7723e39e()
[Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены]
ntdll.dll!7723e003()
kernel32.dll!75c614dd()
msvcr100.dll!6bca016a()
norm.exe!00357dca()
norm.exe!003580b3()
norm.exe!00354fb6()
norm.exe!00356aec()
norm.exe!003514ef()
kernel32.dll!75c614dd()
sphinxbase.dll!10006d84()
sphinxbase.dll!100062e0()
norm.exe!003529a7()
norm.exe!0035be2c()
kernel32.dll!75c6339a()
ntdll.dll!77249ed2()
ntdll.dll!77249ea5()
это с an4, как и с моей - то же самое, тоесть дело врядли в неправильной
подготовке базы (an4 не портил, да вроде и ошибки только с exe-шниками)
буду очень признателен если поможете разобраться :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
а вот Видимые (переменные) - мне посоветовали тоже скинуть:
- fp 0x5e55e4f8 {_ptr=0x00000000 <Неправильный указатель> _cnt=0 _base=0x00000000 <Неправильный указатель> ...} _iobuf *
- _ptr 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_cnt 0 int
- _base 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_flag 1 int
_file 3 int
_charbuf 0 int
_bufsiz 0 int
- _tmpfname 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
- line 0x00000000 {buf=??? bsiz=??? len=??? ...} lineiter_t *
buf CXX0030: ошибка: невозможно вычислить выражение
bsiz CXX0030: ошибка: невозможно вычислить выражение
len CXX0030: ошибка: невозможно вычислить выражение
fh CXX0030: ошибка: невозможно вычислить выражение
clean CXX0030: ошибка: невозможно вычислить выражение
lineno CXX0030: ошибка: невозможно вычислить выражение
- phnhash 0x00b04118 phnhashelement_t * *- 0x00000000 {phone=??? count=??? next=??? } phnhashelement_t *
phone CXX0030: ошибка: невозможно вычислить выражение
count CXX0030: ошибка: невозможно вычислить выражение
next CXX0030: ошибка: невозможно вычислить выражение
- silence 0x011d2f78 "SIL" char *
83 'S' char
- ctl_fp 0x5e55e4f8 {_ptr=0x00000000 <Неправильный указатель> _cnt=0 _base=0x00000000 <Неправильный указатель> ...} _iobuf *
- _ptr 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_cnt 0 int
- _base 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_flag 1 int
_file 3 int
_charbuf 0 int
_bufsiz 0 int
- _tmpfname 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
- li 0xcccccccc {buf=??? bsiz=??? len=??? ...} lineiter_t *
buf CXX0030: ошибка: невозможно вычислить выражение
bsiz CXX0030: ошибка: невозможно вычислить выражение
len CXX0030: ошибка: невозможно вычислить выражение
fh CXX0030: ошибка: невозможно вычислить выражение
clean CXX0030: ошибка: невозможно вычислить выражение
lineno CXX0030: ошибка: невозможно вычислить выражение
(init_gau можно не смотреть в принципе, я его могу просто заменить из trunk
готовым exe -шником и тогда будет не работать только mk_mdef_gen.exe и
norm.exe)
вот если init_gau.exe рабочий:
- fp 0x5e45e4f8 {_ptr=0x00000000 <Неправильный указатель> _cnt=0 _base=0x00000000 <Неправильный указатель> ...} _iobuf *
- _ptr 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_cnt 0 int
- _base 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
_flag 1 int
_file 3 int
_charbuf 0 int
_bufsiz 0 int
- _tmpfname 0x00000000 <Неправильный указатель> char *
CXX0030: ошибка: невозможно вычислить выражение
- line 0x00000000 {buf=??? bsiz=??? len=??? ...} lineiter_t *
buf CXX0030: ошибка: невозможно вычислить выражение
bsiz CXX0030: ошибка: невозможно вычислить выражение
len CXX0030: ошибка: невозможно вычислить выражение
fh CXX0030: ошибка: невозможно вычислить выражение
clean CXX0030: ошибка: невозможно вычислить выражение
lineno CXX0030: ошибка: невозможно вычислить выражение
- phnhash 0x00141a90 phnhashelement_t * *- 0x00000000 {phone=??? count=??? next=??? } phnhashelement_t *
phone CXX0030: ошибка: невозможно вычислить выражение
count CXX0030: ошибка: невозможно вычислить выражение
next CXX0030: ошибка: невозможно вычислить выражение
- silence 0x01332f78 "SIL" char *
83 'S' char
о, спасибо большое, phase 2: flat initialize теперь полностью без ошибок..
я просто полностью из debug версии взял все dll, exe и проходит без ошибок,
только еще одна проблема теперь - bw.exe пишет:
если открыть corpus.c в libio и найти areadshort, то там красным подчеркнуто
слово areadshort, как в ворде грамматику исправляет - если мышкой навести то
надпись
Error:Идентификаторareadfloatнеопределен
тоже самое у areadfloat_part
а еще чуть выше увидел в этом кусочке кода
if (mfc)
cptr = &coeff;
else {
/* If mfc == NULL, just get the number of frames. */
coeff = NULL;
cptr = NULL;
}
спасибо вам большое, больше двух недель не могло получиться)
если хотите, как поправите я проверю, чтобы не было больше никаких ошибок.
p.s. у меня единственный warning
я правильно понимаю что до 100seno's дело не дошло, потому что показанное выше
меньше 100, не дошло до 100?
модель у меня такая: 23 фразы, записанные по 12 раз, длиной от 1 до 3 секунд
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
9>main.obj : error LNK2019: ссылка на неразрешенный внешний символ
_read_pset_file в функции _init
Исправил, спасибо
я правильно понимаю что до 100seno's дело не дошло, потому что показанное
выше меньше 100, не дошло до 100? модель у меня такая: 23 фразы, записанные по
12 раз, длиной от 1 до 3 секунд
hey, it is nice that i visited sourceforge right the next day after you
posted, i will help you)
it is just as i did:
1) download the latest snapshot of sphinxtrain, pocketsphinx and sphinxbase
(from the SVN trunk)
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/SphinxTrain/
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/pocketsphinx/
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/
to download just click "Download GNU tarball"
2) download sphinxtrain, pocketsphinx and sphinxbase sources from https://sou
rceforge.net/projects/cmusphinx/files/ and unzip them to the folder, for example "acoustic", and here
also copy your training folder (with etc/ and wav/ folders)
3) in snapshot folders open every .sln file in vb2010 and do:
1. choose solution - rebuild all;
2. choose solution - batch build - choose everything (Release and Debug both) - Build
(for sphinxbase, pocketsphinx and sphinxtrain you need all these)
- you will need only DEBUG version of .exe and .dll (bin/debug) from these snapshots (in next point 4) it will be copied)
4)unzip all the src (from 2) point) and create bin folder in sphinxbase,
pocketsphinx and sphinxtrain and:
1. copy from snapshot/sphinxbase/bin/Debug binaries and sphinxbase.dll to acoustic/sphinxbase/bin folder
2. copy from snapshot/pocketsphinx/bin/Debug binaries and pocketsphinx.dll to acoustic/pocketsphinx/bin folder
3. copy from snapshot/sphinxtrain/bin/Debug binaries to acoustic/sphinxtrain/bin/Release folder (create "release" folder before :) )
this strange poits are because:
1) the exe and dll from the snapshot version are the most up-to-date and
working, but:
2) the old version from https://sourceforge.net/projects/cmusphinx/files/ have the most working
scripts_pl, that's why we compile binaries from snapshot and copy them to the
old folders with working scripts.
now everything has to go fine, if you have questions - ask me) if you will
have problems, i can just send you the ready and working binaries, good luck
:)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I am trying to build my acoustic model on windows (7 64bit) - i have made
everything ready till the Runall.pl command;
as for the sphinxbase, pocketsphinx, sphinxtrain packages - the binaries
compiled from snapshot versions, everything else - from release (as Nickolay
suggested)
the process fails on Phase 2: Flat initialize, when mk_mdef_gen.exe crashes,
and after that the init_gau.exe also appears the appcrash, and the command
line says:
here are the logs:
rbot.initmean_cihmm.log
rbot.make_ci_mdef_fromphonelist.log
rbot.normmean_cihmm.log
rbot.makeflat_cihmm.log
i have also a couple of other logfiles, but the errors there just because of
the errors from the logs above - because the rbot.ci.mdef and the globalmean
files are not created (and gauden.counts also)
if i replace the init_gau.exe with the same from the win32.zip (from the
trunk) - this executive works, and creates gauden.counts, but the
mk_mdef_gen.exe and also the norm.exe have an appcrash with similar logs (they
just stop their process and do not write any files (ci.mdef and globalmean)
at this stage i have problems with these executives:
mk_mdef_gen.exe and norm.exe
maybe somebody could give me this 2 working executives, or tell me what i
might be doing wrong..
p.s. i tried the training with an4 also, the same effect occurs
p.p.s. Nickolay, you speak russian, where can i ask my questions in russian?
as i understand, this forum appreciates only english language discussions..
If application crashes it's helpful to provide a stack trace.
You can ask here
вот стак вызовов при падении mk_mdef_gen.exe:
(при открытии VS2010 окно появляется
это если mk_mdef_gen.exe взять прямо с сайта, готовый exe из папки win32.zip
если скомпилирован у меня в VS2010, то он тоже падает и вот его стак вызовов:
init_gau.exe, скомпилированный мной (тот что с сайта - рабочий, создает нормально gauden.counts и т.д и не вылетает)
далее norm.exe, взятый с сайта win32.zip: (norm.exe вылетает только если
беру init_gau.exe рабочий с сайта, если init_gau.exe брать компилированный -
он же вылетает, не создает при этом gauden.counts и norm.exe просто не находит
никаких counts, и просто ничего не создает:
, потому и не вылетает - norm.exe вылетает только когда пытается прочитать
gauden.counts, которые существуют и созданы нормально init_gau.exe, опишу его
(norm.exe) стак ниже)
и скомпилированный мной (Release):
(окошко появляется Необработанное исключение в "0x7723e39e" в "norm.exe":
0xC0000005: Нарушение прав доступа при чтении "0x36bc7a6c".)
это с an4, как и с моей - то же самое, тоесть дело врядли в неправильной
подготовке базы (an4 не портил, да вроде и ошибки только с exe-шниками)
буду очень признателен если поможете разобраться :)
ой, извинияюсь, это от release версий, щас скину три скомпилированных мной
debug версии:
mk_mdef_gen.exe:
а вот Видимые (переменные) - мне посоветовали тоже скинуть:
init_gau.exe
и видимые:
(init_gau можно не смотреть в принципе, я его могу просто заменить из trunk
готовым exe -шником и тогда будет не работать только mk_mdef_gen.exe и
norm.exe)
вот если init_gau.exe рабочий:
mk_mdef_gen.exe:
видимые:
norm.exe:
и переменные видимые:
Спасибо. sphinxbase.dll тоже можно версию с отладкой.
Also make sure that you are using sphinxbase.dll from a snapshot.
о, спасибо большое, phase 2: flat initialize теперь полностью без ошибок..
я просто полностью из debug версии взял все dll, exe и проходит без ошибок,
только еще одна проблема теперь - bw.exe пишет:
при отладке ее пишет:
bw.exe привело в действие точку остановка
и выше в открытом isctype.c подсвечена строка
вот стак вызовов:
а видимые переменные - не знаю, надо скидывать или нет - их очень много..
спасибо что пытаетесь помочь.
Это проблема совсем недавно была исправлена, 3 дня назад. Snapshot поновее
нужно взять просто.
вот лог файл rbot.1.1-1.bw.log:
спасибо, сейчас попробую
почему то последнюю версию snapshot sphinxtrain не получается скомпилировать,
ошибки..
и такие ошибки у 7 проектов, включая bw.exe который мне в принципе только и
нужен из последней версии snapshot..
do {
если открыть corpus.c в libio и найти areadshort, то там красным подчеркнуто
слово areadshort, как в ворде грамматику исправляет - если мышкой навести то
надпись
тоже самое у areadfloat_part
а еще чуть выше увидел в этом кусочке кода
у этих строк -
подчеркнуто "=". если мышкой навести -
подскажите пожалуйста, что можно сделать
я сравнил с предыдущей snapshot версией, обнаружил что в решении нет libs2io,
как раз в ней и описаны areadfloat и т.п...
Должно быть исправлено, обновитесь ещё разок
обновился, ошибки многие исчезли, но опишу те, которые остались:
p.s. bw.exe заработал, у меня сейчас идет runall.pl без ошибок дальше :)
спасибо вам большое, больше двух недель не могло получиться)
если хотите, как поправите я проверю, чтобы не было больше никаких ошибок.
p.s. у меня единственный warning
я правильно понимаю что до 100seno's дело не дошло, потому что показанное выше
меньше 100, не дошло до 100?
модель у меня такая: 23 фразы, записанные по 12 раз, длиной от 1 до 3 секунд
тоесть мне нужно взять больше seno's или меньше?
Исправил, спасибо
тоесть мне нужно взять больше seno's или меньше?
Нужно данных гораздо больше, прочитайте
http://cmusphinx.sourceforge.net/wiki/tutorialam
спасибо большое :)
Pleaaaaase
i faced these errors now , mk_mdef_gen.exe stopped working!!!!!!!!!!!!!!!
how did you resolve this problem "in english" becuase i didn't undertand in
russian
okay i translated it with google ,
ci_mdef is created
but also every thing stop after that >>> no error and no complete:(
phase 2 stopped without error ???? why???
i copies snapshot binaries to new version (of each package) and copied
snapshot sphinxbase
Quickly help meeee
hey, it is nice that i visited sourceforge right the next day after you
posted, i will help you)
it is just as i did:
1) download the latest snapshot of sphinxtrain, pocketsphinx and sphinxbase
(from the SVN trunk)
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/SphinxTrain/
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/pocketsphinx/
- http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/
to download just click "Download GNU tarball"
2) download sphinxtrain, pocketsphinx and sphinxbase sources from https://sou
rceforge.net/projects/cmusphinx/files/ and unzip them to the folder, for example "acoustic", and here
also copy your training folder (with etc/ and wav/ folders)
3) in snapshot folders open every .sln file in vb2010 and do:
1. choose solution - rebuild all;
2. choose solution - batch build - choose everything (Release and Debug both) - Build
(for sphinxbase, pocketsphinx and sphinxtrain you need all these)
- you will need only DEBUG version of .exe and .dll (bin/debug) from these snapshots (in next point 4) it will be copied)
4)unzip all the src (from 2) point) and create bin folder in sphinxbase,
pocketsphinx and sphinxtrain and:
1. copy from snapshot/sphinxbase/bin/Debug binaries and sphinxbase.dll to acoustic/sphinxbase/bin folder
2. copy from snapshot/pocketsphinx/bin/Debug binaries and pocketsphinx.dll to acoustic/pocketsphinx/bin folder
3. copy from snapshot/sphinxtrain/bin/Debug binaries to acoustic/sphinxtrain/bin/Release folder (create "release" folder before :) )
this strange poits are because:
1) the exe and dll from the snapshot version are the most up-to-date and
working, but:
2) the old version from https://sourceforge.net/projects/cmusphinx/files/ have the most working
scripts_pl, that's why we compile binaries from snapshot and copy them to the
old folders with working scripts.
now everything has to go fine, if you have questions - ask me) if you will
have problems, i can just send you the ready and working binaries, good luck
:)
also, copy sphinxbase.dll to sphinxtrain/bin/Release/ it will be needed