I'm getting the following error and could not resolve the problem:
Can't open c:/Sphinx/geo1/result/geo1-1-1.match
word_align.pl failed with error code 65280 at C:\Sphinx\sphinxtrain\scripts\decode\slave.pl line 173.
The project is attached.
Traceback (most recent call last):
File "C:\Sphinx\sphinxtrain\scripts\0000.g2p_train\evaluate.py", line 111, in <module>
process_testset( test_file, wordlist, ref_file )
File "C:\Sphinx\sphinxtrain\scripts\0000.g2p_train\evaluate.py", line 42, in process_testset
for entry in open(testfile):
FileNotFoundError: [Errno 2] No such file or directory: 'c:/Sphinx/other/g2p/other.test'</module>
I don't know why "other.test" is not created.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
pocketsphinx_continuous works well. Actually everyting runs well if I copy "other-1-1.match" file into results folder. I downloaded this file from internet. The problem is that I can not regenerate this file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not experienced in Linux. This is why I prefer Windows. As I see at one point I should move to Linux.
I noticed one strange thing. May be it tells something. During every training, files like other_test.transcription6940 are generated (attached). I don't get error messages and warnings, but I think something goes wrang with these files.
I'm getting the following error and could not resolve the problem:
Can't open c:/Sphinx/geo1/result/geo1-1-1.match
word_align.pl failed with error code 65280 at C:\Sphinx\sphinxtrain\scripts\decode\slave.pl line 173.
The project is attached.
Your advise would be much appriciated.
There were earlier errors, you can find them in logdir.
other.g2p.evaluate.log file says:
Traceback (most recent call last):
File "C:\Sphinx\sphinxtrain\scripts\0000.g2p_train\evaluate.py", line 111, in <module>
process_testset( test_file, wordlist, ref_file )
File "C:\Sphinx\sphinxtrain\scripts\0000.g2p_train\evaluate.py", line 42, in process_testset
for entry in open(testfile):
FileNotFoundError: [Errno 2] No such file or directory: 'c:/Sphinx/other/g2p/other.test'</module>
I don't know why "other.test" is not created.
You need to disable g2p, it is not supposed to work that easy on Windows.
Changed $CFG_G2P_MODEL= 'no';
but getting the same error
This error usually happen with Windows runtime mismatch during pocketsphinx/sphinxbase compilation. Probably you compiled pocketsphinx yourself.
Yes, I compiled them.
Now I dowloaded compiled versions. Unfortunately the same error.
Well, you'd better try Linux first, I told you that I think.
You can also run pocketsphinx_continuous from command line to see if it actually works. Most likely you miss runtime library to run it.
pocketsphinx_continuous works well. Actually everyting runs well if I copy "other-1-1.match" file into results folder. I downloaded this file from internet. The problem is that I can not regenerate this file.
The match file is created by pocketsphinx_batch, maybe it has some issues. Your model works fine here, returns results.
Like I said, Linux is the easiest way probably.
I am not experienced in Linux. This is why I prefer Windows. As I see at one point I should move to Linux.
I noticed one strange thing. May be it tells something. During every training, files like other_test.transcription6940 are generated (attached). I don't get error messages and warnings, but I think something goes wrang with these files.
How can I generate match file using pocketsphinx_batch from cmd?
Something like this:
pocketsphinx_batch -ctl etc/other.fileids -hmm model_parameters/other.ci_cont -dict etc/other.dic -lm etc/other.lm.DMP -cepdir feat -cepext .mfc -hyp result/other.match
Thanks. I resolved the issue.