Menu

Pocketsphinx "input overrun, read calls are too rare (non-fatal)"

Help
2017-02-14
2017-02-14
  • David Xanatos

    David Xanatos - 2017-02-14

    Pocketsphinx running on Raspberry Pi 3, Raspbian Jessie. Pocketsphinx run via command line:

    pocketsphinx_continuous -nfft 2048 -inmic yes -samprate 44100
    

    Sphinx runs, but frequently throws:

    input overrun, read calls are too rare (non-fatal)
    

    speaking repeatedly into mic the phrase "test one two.......... test one two........"

    I get very occasionally output of

    that one to the one to one of the one to that one with the one of the who of you who have do that too
    

    While there is definitely a corelation, I need to know how to do two things:

    One, verify that the mic input to the system is not being corrupted, too high, too low, etc (I have run alsamixer but... who knows);

    Two, train a vocabulary set to improve recognition

    Some raw console output listed below, FWIW - hoping someone may recognize something of value.

    Thank you very much for your assistance.

    --Dave

    INFO: ngram_search_fwdflat.c(960): fwdflat 7.88 CPU 0.887 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 7.88 wall 0.887 xRT
    INFO: ngram_search.c(1250): lattice start node <s>.0 end node </s>.854
    INFO: ngram_search.c(1276): Eliminated 1 nodes before end node
    INFO: ngram_search.c(1381): Lattice has 3331 nodes, 38158 links
    INFO: ps_lattice.c(1380): Bestpath score: -42172
    INFO: ps_lattice.c(1384): Normalizer P(O) = alpha(</s>:854:886) = -2057877
    INFO: ps_lattice.c(1441): Joint P(O,S) = -2853986 P(S|O) = -796109
    INFO: ngram_search.c(872): bestpath 1.05 CPU 0.118 xRT
    INFO: ngram_search.c(875): bestpath 1.06 wall 0.119 xRT
    that one to the one to one of the one to that one with the one of the who of you who have do that too
    INFO: continuous.c(275): Ready....
    Input overrun, read calls are too rare (non-fatal)
    INFO: continuous.c(261): Listening...
    INFO: cmn_live.c(88): Update from < 48.56 -11.55  5.80 -0.92 -1.89  0.20  4.50 12.77  3.92 -18.78 -28.46  6.90 30.03 >
    INFO: cmn_live.c(105): Update to   < 48.64 -11.67  5.73 -1.09 -2.00  0.10  4.33 12.63  4.00 -18.53 -28.31  6.93 30.15 >
    INFO: cmn_live.c(120): Update from < 48.64 -11.67  5.73 -1.09 -2.00  0.10  4.33 12.63  4.00 -18.53 -28.31  6.93 30.15 >
    INFO: cmn_live.c(138): Update to   < 47.59 -12.22  5.66 -1.25 -2.09  0.26  4.79 13.32  4.41 -18.81 -28.85  7.07 30.84 >
    INFO: ngram_search_fwdtree.c(1550):     3102 words recognized (22/fr)
    INFO: ngram_search_fwdtree.c(1552):   486528 senones evaluated (3526/fr)
    INFO: ngram_search_fwdtree.c(1556):  2058890 channels searched (14919/fr), 92169 1st, 125799 last
    INFO: ngram_search_fwdtree.c(1559):     6774 words for which last channels evaluated (49/fr)
    INFO: ngram_search_fwdtree.c(1561):   114031 candidate words for entering last phone (826/fr)
    INFO: ngram_search_fwdtree.c(1564): fwdtree 5.16 CPU 3.739 xRT
    INFO: ngram_search_fwdtree.c(1567): fwdtree 10.77 wall 7.801 xRT
    INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 139 words
    INFO: ngram_search_fwdflat.c(948):     2077 words recognized (15/fr)
    INFO: ngram_search_fwdflat.c(950):   151617 senones evaluated (1099/fr)
    INFO: ngram_search_fwdflat.c(952):   220372 channels searched (1596/fr)
    INFO: ngram_search_fwdflat.c(954):    11299 words searched (81/fr)
    INFO: ngram_search_fwdflat.c(957):     7286 word transitions (52/fr)
    INFO: ngram_search_fwdflat.c(960): fwdflat 0.76 CPU 0.551 xRT
    INFO: ngram_search_fwdflat.c(963): fwdflat 0.76 wall 0.550 xRT
    INFO: ngram_search.c(1250): lattice start node <s>.0 end node </s>.93
    INFO: ngram_search.c(1276): Eliminated 1 nodes before end node
    INFO: ngram_search.c(1381): Lattice has 367 nodes, 2709 links
    INFO: ps_lattice.c(1380): Bestpath score: -4988
    INFO: ps_lattice.c(1384): Normalizer P(O) = alpha(</s>:93:136) = -297975
    INFO: ps_lattice.c(1441): Joint P(O,S) = -385059 P(S|O) = -87084
    INFO: ngram_search.c(872): bestpath 0.04 CPU 0.029 xRT
    INFO: ngram_search.c(875): bestpath 0.04 wall 0.029 xRT
    that one too
    INFO: continuous.c(275): Ready....
    
     
  • David Xanatos

    David Xanatos - 2017-02-18

    I believe the answer given above does not apply to Ras Pi 3. It was true for R Pi 2, but there are numerous examples of PocketSphinx running on Pi 3, a much faster, overclockable device with much more ram. Can anyone on here with experience on the R Pi 3 comment?

    Thanks,

    Dave

     

    Last edit: David Xanatos 2017-02-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.