After training 80 wake words against some GB of non-wake words I would like to see if the detection rate is really as good as testing with Precise claims (99.9%).
I have now narrowed down the error further by retrieving the log via Portainer when Rhasspy tries to start with percise in the profile.
The log for Rhasspy from Portainer looks like following. I think the line
ModuleNotFoundError: No module named 'precise_runner’
sounds like the cause of my problems.
DEBUG:RhasspyCore:Profile files will be written to /profiles/de,
DEBUG:root:Loading default profile settings from /usr/share/rhasspy/profiles/defaults.json,
DEBUG:WebSocketObserver: -> started,
DEBUG:DialogueManager: -> started,
DEBUG:DialogueManager:started -> loading_mqtt,
DEBUG:DialogueManager:Loading MQTT first,
DEBUG:DialogueManager:Loading…will time out after 30 second(s),
DEBUG:HermesMqtt: -> started,
DEBUG:HermesMqtt:started -> connecting,
DEBUG:HermesMqtt:Logging in as Johannes,
DEBUG:HermesMqtt:Connecting to MQTT broker IP_HIDDEN:PORT_HIDDEN,
DEBUG:DialogueManager:loading_mqtt -> loading,
DEBUG:DialogueManager:Loading actors,
DEBUG:HermesMqtt:Connection successful.,
INFO:HermesMqtt:Connected to IP_HIDDEN:PORT_HIDDEN,
DEBUG:HermesMqtt:connecting -> connected,
ERROR:DialogueManager:on_receive,
Traceback (most recent call last):,
File “/usr/share/rhasspy/rhasspy/actor.py”, line 175, in on_receive,
self._state_method(message, sender),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 293, in in_loading_mqtt,
self.transition(“loading”),
File “/usr/share/rhasspy/rhasspy/actor.py”, line 236, in transition,
getattr(self, transition_method)(from_state),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 301, in to_loading,
self.load_actors(),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 852, in load_actors,
self._wake = self.createActor(self.wake_class),
File “/usr/share/rhasspy/rhasspy/actor.py”, line 194, in createActor,
child_actor = cls().start(),
File “/usr/share/rhasspy/rhasspy/wake.py”, line 512, in init,
from precise_runner import ReadWriteStream,
ModuleNotFoundError: No module named ‘precise_runner’,
WARNING:DialogueManager:Actor timeout! Still waiting on [] Loading anyway…,
DEBUG:DialogueManager:loading -> ready,
INFO:DialogueManager:Automatically listening for wake word,
DEBUG:DialogueManager:ready -> asleep,
ERROR:DialogueManager:on_receive,
Traceback (most recent call last):,
File “/usr/share/rhasspy/rhasspy/actor.py”, line 175, in on_receive,
self._state_method(message, sender),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 335, in in_loading,
self.transition(“ready”),
File “/usr/share/rhasspy/rhasspy/actor.py”, line 236, in transition,
getattr(self, transition_method)(from_state),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 358, in to_ready,
self.send(self.wake, ListenForWakeWord()),
File “/usr/share/rhasspy/rhasspy/dialogue.py”, line 235, in wake,
assert self._wake is not None,
AssertionError,
DEBUG:InboxActor: -> stopped,
Traceback (most recent call last):,
File “app.py”, line 1319, in ,
loop.run_until_complete(start_rhasspy()),
File “/usr/lib/python3.6/asyncio/base_events.py”, line 484, in run_until_complete,
return future.result(),
File “app.py”, line 168, in start_rhasspy,
await core.start(observer=observer),
File “/usr/share/rhasspy/rhasspy/core.py”, line 144, in start,
await sys.async_listen(timeout),
File “/usr/share/rhasspy/rhasspy/actor.py”, line 296, in async_listen,
await asyncio.wait_for(self.async_receive_event.wait(), timeout),
File “/usr/lib/python3.6/asyncio/tasks.py”, line 362, in wait_for,
raise futures.TimeoutError(),
concurrent.futures._base.TimeoutError,
DEBUG:main:Namespace(host=‘0.0.0.0’, log_level=‘DEBUG’, port=12101, profile=‘de’, set=[], ssl=None, system_profiles=’/usr/share/rhasspy/profiles’, user_profiles=’/profiles’),