Git Product home page Git Product logo

when I run it in doocker and use the chinese model ,it have this question :2021-04-16 05:52:17 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder 2021-04-16 05:52:18 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder about kaldi-gstreamer-server HOT 2 OPEN

jichaoqun avatar jichaoqun commented on July 21, 2024
when I run it in doocker and use the chinese model ,it have this question :2021-04-16 05:52:17 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder 2021-04-16 05:52:18 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder

from kaldi-gstreamer-server.

Comments (2)

jichaoqun avatar jichaoqun commented on July 21, 2024

t: \u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5
2021-04-16 05:51:58 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Postprocessing (final=False) result..
2021-04-16 05:51:58 - DEBUG: root: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for postprocessor lock
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Got partial result: \u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Got partial result: \u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Got final result: \u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Got full final result: {"total-length": 5.472, "segment-length": 5.45, "status": 0, "segment-start": 0.0, "result": {"final": true, "hypotheses": [{"likelihood": 1251.02, "transcript": "\u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5"}]}}
2021-04-16 05:51:58 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Before postprocessing: {u'status': 0, u'segment-start': 0.0, u'segment-length': 5.45, u'total-length': 5.472, u'result': {u'hypotheses': [{u'transcript': u'\u4eca\u5929 \u75c5\u4eba \u60c5\u51b5 \u826f\u597d \u6ca1\u6709 \u51fa\u73b0 \u53d1\u70ed \u7b49 \u60c5\u51b5', u'likelihood': 1251.02}], u'final': True}, 'segment': 0, 'id': u'7404beee-0d39-4d67-963c-01c58da10193'}
2021-04-16 05:51:58 - DEBUG: root: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for postprocessor lock
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Pipeline received eos signal
2021-04-16 05:51:58 - INFO: decoder2: 7404beee-0d39-4d67-963c-01c58da10193: Resetting decoder state
2021-04-16 05:51:58 - DEBUG: root: Waiting until processing threads finish (7)
2021-04-16 05:51:59 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:00 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:01 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:02 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:03 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:04 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:05 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:06 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:07 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:08 - DEBUG: main: 7404beee-0d39-4d67-963c-01c58da10193: Checking that decoder hasn't been silent for more than 10 seconds
2021-04-16 05:52:09 - WARNING: main: 7404beee-0d39-4d67-963c-01c58da10193: More than 10 seconds from last decoder hypothesis update, cancelling
2021-04-16 05:52:09 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Master disconnected before decoder reached EOS?
2021-04-16 05:52:09 - INFO: decoder2: : Sending EOS to pipeline in order to cancel processing
2021-04-16 05:52:09 - INFO: decoder2: : Cancelled pipeline
2021-04-16 05:52:09 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:10 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:11 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:12 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:13 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:14 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:15 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:16 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:17 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder
2021-04-16 05:52:18 - INFO: main: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder

I think this question that the work can decode the redio but it can not send the word to server ? maybe it others questions ?
in short Ican not solve it , who can tell me what i should do? thanks very much!!!

from kaldi-gstreamer-server.

jichaoqun avatar jichaoqun commented on July 21, 2024

should change the worker.py. in the 423 line:
thread.start_new_thread(main_loop, (args.uri, decoder_pipeline, post_processor, full_post_processor))
change to :
thread.start_new_thread(main_loop, (args.uri, decoder_pipeline, None,None))

from kaldi-gstreamer-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.