Menu

kdtree for pocketsphinx

Help
2012-06-08
2012-09-22
  • Nathan Glenn

    Nathan Glenn - 2012-06-08

    Since the article
    here says to
    use k-d trees to speed up PocketSphinx, I tried making some with the kdtree
    application which comes with sphinxtrain. I am on Windows 7.

    Here is the command I used, supplying the files in the model directory for
    PocketSphinx:

    C:/dev/sphinx/sphinxtrain/kdtree.exe -outfn "C:/Users/me/Desktop/kdtrees"
    -meanfn C:/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/means -varfn
    C:/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/variances

    When I run it from the Windows cmd, it exits without doing anything except
    print the current configuration. When I run it from Cygwin it tells me it got
    a segmentation fault.

    What can I do to get k-d trees for pocketsphinx?
    Nate

     
  • Nickolay V. Shmyrev

    Please report the version you are using

    Please try the latest version

    Please provide a stack trace which you can get with a debugger.

     
  • Nathan Glenn

    Nathan Glenn - 2012-06-11

    You can consider this issue closed (I think). I could not for the life of me
    get Cygwin to give me a core dump so I could get a stack trace (I detailed my
    conundrum on StackOverflow; is it possible that
    something needs to be changed in the config file for users to be able to send
    you coredumps?). I tried to rebuild and remembered I had been building with
    VS2010. Cygwin failed to build, and this
    QA

    pointed me to download the bleeding edge version. Everything works perfectly
    with the snapshot version of SphinxTrain I downloaded just now!
    I was using SphinxTrain 1.0.7. When I ran my command against the snapshot
    version, it gave me an error saying my output file or directory didn't exist.
    Apparently it won't take anything with a space in the path (understandable).

     

Log in to post a comment.