Menu

"Access is denied." errors when running sphinxtrain

Help
olumide
2013-02-13
2016-04-13
<< < 1 2 (Page 2 of 2)
  • olumide

    olumide - 2013-02-27

    I've narrowed the problem down to the line

    push @deps, LaunchScript("bw.$iter.$i", ['baum_welch.pl', $iter, $i, $n_parts, $n_gau]);
    

    in the script

    /usr/local/lib/sphinxtrain/scripts/20.ci_hmm/slave_convg.pl
    
     
  • olumide

    olumide - 2013-02-27

    Now I've found the really found the source of the error messages. Its the section of code

    until (-f $mixwfn) {
        print "Waiting for $mixwfn\n";
        sleep 1;
    }
    

    in baum_welch.pl (but I'm sure you know that). For some reason the file mixture_weights isn't being written.

     

    Last edit: olumide 2013-02-27
  • Nickolay V. Shmyrev

    Now I've found the really found the source of the error messages.

    The real source is missing proper installation as usual. Please make sure you compiled everything correctly or just use precompiled binaries.

     
    • olumide

      olumide - 2013-03-05

      How odd. SphinxBase, PocketSphinx and SphinxTrain have all been compiled and installed.

      Where in the training script, if I may ask, is mixture_weights supposed to be created and by what program? That may give a clue as to which which binary (if any) is missing.

       
  • Nickolay V. Shmyrev

    How odd. SphinxBase, PocketSphinx and SphinxTrain have all been compiled and installed.

    That occured on your system before, so nothing odd

    Where in the training script, if I may ask, is mixture_weights supposed to be created and by what program?

    init_mixw

    That may give a clue as to which which binary (if any) is missing.

    Probably sphinxbase.dll is missing or the binary itself

     
  • olumide

    olumide - 2013-03-05

    sphinxbase.dll and pocketsphinx.dll are both in
    C:\cygwin\usr\local\lib\python2.7\site-packages

    Also, init_mixw appears to be called after the line that prints the error messages in slave_config.pl . Is init_mixw called else where before slave_config.pl?

     

    Last edit: olumide 2013-03-05
  • Nickolay V. Shmyrev

    sphinxbase.dll and pocketsphinx.dll are both in
    C:\cygwin\usr\local\lib\python2.7\site-packages

    This is not a right location for the dll for sure, it's a python module

    Return to message 1 of this thread and read our discussion again.

    Also, init_mixw appears to be called after the line that prints the error messages in slave_config.pl . Is init_mixw called else where before slave_config.pl?

    Sorry, I'm not sure what slave_config.pl are you talking about. There is no such thing in Sphinxtrain.

     
  • olumide

    olumide - 2013-03-11

    slave_convg.pl I meant. I've stepped through the code some more and found that because $ST::CFG_HMM_TYPE = ".cont", the if-statement that nests RunTool('init_mixw'... ) is not executed.

     
  • Nickolay V. Shmyrev

    slave_convg.pl I meant. I've stepped through the code some more and found that because $ST::CFG_HMM_TYPE = ".cont", the if-statement that nests RunTool('init_mixw'... ) is not executed.

    For continuous models mixture weights are created by the tool mk_flat

     
  • olumide

    olumide - 2013-03-13

    I found the problem! The dll cyglapack-0.dll, required by mk_flat.exe, was not on my path.

    Thanks ever so much for your patience. I am very grateful.

     
  • Himanshu Srivastava

    in my case this command does nothing ,but only prints a message "Running the training" and nothing happens.

     

    Last edit: Himanshu Srivastava 2016-04-13
<< < 1 2 (Page 2 of 2)

Log in to post a comment.