alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

nnet2-decoder #151

Open only-you opened 5 years ago

only-you commented 5 years ago

frontend log: msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8918 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8918 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5946 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8918 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5946 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8918 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8918 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5944 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 5946 msg: 5: Send: blob: audio/x-raw, 8916 msg: 5: Send: blob: audio/x-raw, 8916

backend log: Ignoring data, worker already in state 100 2018-09-20 16:04:46 - INFO: decoder2: a113d15c-efc0-47e1-a801-1041c917914e: Got partial result: FROM THE VILLAGE SOLICITUDE OF A CAR FOR 2018-09-20 16:04:46 - DEBUG: main: a113d15c-efc0-47e1-a801-1041c917914e: Got message from server of type <class 'ws4py.messaging.BinaryMessage'> 2018-09-20 16:04:46 - INFO: main: a113d15c-efc0-47e1-a801-1041c917914e: Ignoring data, worker already in state 100 2018-09-20 16:04:46 - INFO: decoder2: a113d15c-efc0-47e1-a801-1041c917914e: Got partial result: FROM THE VILLAGE SOLICITUDE OF A CAR FOR 2018-09-20 16:04:47 - DEBUG: main: a113d15c-efc0-47e1-a801-1041c917914e: Got message from server of type <class 'ws4py.messaging.BinaryMessage'> 2018-09-20 16:04:47 - INFO: main: a113d15c-efc0-47e1-a801-1041c917914e: Ignoring data, worker already in state 100

only-you commented 5 years ago

when we config this

full-post-processor: ./sample_full_post_processor.py

backend log is this

Error in `python2.7': double free or corruption (fasttop): 0x0000000044ae91b0 ======= Backtrace: ========= /lib64/libc.so.6(+0x81499)[0x7f84d3cc0499] /lib64/libglib-2.0.so.0(g_free+0xe)[0x7f84c8bd507e] /lib64/libgstreamer-1.0.so.0(+0x2f487)[0x7f84c57be487] /home/work/kaldi/src/lib/libkaldi-online2.so(_ZN5kaldi26OnlineNnet2FeaturePipelineD1Ev+0x78)[0x7f84c3071cf8] /home/work/kaldi/src/lib/libkaldi-online2.so(_ZN5kaldi35SingleUtteranceNnet2DecoderThreadedD2Ev+0x18b)[0x7f84c308da35] /home/work/kaldi/tools/gst-kaldi-nnet2-online/src/libgstkaldinnet2onlinedecoder.so(+0x882aa)[0x7f84c374b2aa] /home/work/kaldi/tools/gst-kaldi-nnet2-online/src/libgstkaldinnet2onlinedecoder.so(+0x89498)[0x7f84c374c498] /lib64/libgstreamer-1.0.so.0(+0xa7bd9)[0x7f84c5836bd9] /lib64/libglib-2.0.so.0(+0x7230c)[0x7f84c8bf730c] /lib64/libglib-2.0.so.0(+0x71970)[0x7f84c8bf6970] /lib64/libpthread.so.0(+0x7e25)[0x7f84d471ce25] /lib64/libc.so.6(clone+0x6d)[0x7f84d3d3dbad] ======= Memory map: ======== 00400000-00401000 r-xp 00000000 08:03 17959230 /usr/bin/python2.7 00600000-00601000 r--p 00000000 08:03 17959230 /usr/bin/python2.7 00601000-00602000 rw-p 00001000 08:03 17959230 /usr/bin/python2.7 01871000-45e7c000 rw-p 00000000 00:00 0