Menu

word_align.pl failed with error code 65280

Help
2020-01-10
2020-01-12
  • Rati Skhirtladze

    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.

     
    • Nickolay V. Shmyrev

      There were earlier errors, you can find them in logdir.

       
  • Rati Skhirtladze

    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.

     
    • Nickolay V. Shmyrev

      You need to disable g2p, it is not supposed to work that easy on Windows.

       
  • Rati Skhirtladze

    Changed $CFG_G2P_MODEL= 'no';
    but getting the same error

     
    • Nickolay V. Shmyrev

      This error usually happen with Windows runtime mismatch during pocketsphinx/sphinxbase compilation. Probably you compiled pocketsphinx yourself.

       
  • Rati Skhirtladze

    Yes, I compiled them.
    Now I dowloaded compiled versions. Unfortunately the same error.

     
    • Nickolay V. Shmyrev

      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.

       
  • Rati Skhirtladze

    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.

     
    • Nickolay V. Shmyrev

      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.

       
  • Rati Skhirtladze

    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.

     
  • Rati Skhirtladze

    How can I generate match file using pocketsphinx_batch from cmd?

     
    • Nickolay V. Shmyrev

      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

       
  • Rati Skhirtladze

    Thanks. I resolved the issue.

     

Log in to post a comment.