gpt4 book ai didi

python - Raspberry pi Jasper 语音识别无法正常工作

转载 作者:太空宇宙 更新时间:2023-11-04 05:22:37 25 4
gpt4 key购买 nike

我遵循本教程http://jasperproject.github.io/documentation/我使用 Debian Jessie,所以大多数我都必须编译。当我想运行 jasper.py 时,出现此错误:有谁知道问题出在哪里。

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'... DEBUG:client.diagnose:Network connection working DEBUG:main:Trying to read config file: '/root/.jasper/profile.yml' DEBUG:client.diagnose:Checking python import 'pocketsphinx'... DEBUG:client.diagnose:Python package 'pocketsphinx' found: /usr/local/lib/python2.7/dist-packages/pocketsphinx/init.py' WARNING:root:tts_engine not specified in profile, defaulting to espeak-tts' DEBUG:client.diagnose:Checking executable 'aplay'... DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay' DEBUG:client.diagnose:Checking executable 'espeak'... DEBUG:client.diagnose:Executable 'espeak' found: '/usr/bin/espeak' DEBUG:client.vocabcompiler:compiled_revision is 'bb74ae36d130ef20de710e3a77b43424b8fa774f' ERROR:root:Error occured! Traceback (most recent call last): File "jasper.py", line 146, in app = Jasper() File "jasper.py", line 109, in init
stt_passive_engine_class.get_passive_instance(), File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases) File "/home/pi/jasper/client/stt.py", line 42, in get_instance
instance = cls(**config) File "/home/pi/jasper/client/stt.py", line 126, in init **vocabulary.decoder_kwargs) TypeError: init() got an unexpected keyword argument 'hmm'

最佳答案

我将 stt.py 脚本粘贴到 Pastebin 上。 http://pastebin.com/Cy6ziGPk因为我无法在这个论坛上管理这个。

关于python - Raspberry pi Jasper 语音识别无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39119471/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com