Giter Club home page Giter Club logo

Comments (9)

limitless-code avatar limitless-code commented on June 1, 2024

In voice.log it shows below. Could not found find model for hey jarvis on precise. and load pocketsphinx instead which is not as accurate? i shall change the wake word to 'hey mycroft' and test again but I was having similar issues with that wake word too.

2021-08-26 12:04:49.800 | DEBUG    |   403 | mycroft.client.speech.mic:listen:712 | Waiting for wake word...
2021-08-26 12:05:05.533 | INFO     |   403 | mycroft.client.speech.hotword_factory:on_complete:319 | Precise download complete!
2021-08-26 12:05:07.145 | WARNING  |   403 | mycroft.client.speech.listener:run:88 | Audio contains no data.
2021-08-26 12:05:07.437 | DEBUG    |   403 | mycroft.client.speech.listener:_load_config:304 | Using microphone (None = default): None
2021-08-26 12:05:07.441 | INFO     |   403 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine
2021-08-26 12:05:07.445 | WARNING  |   403 | mycroft.client.speech.listener:create_wake_word_recognizer:341 | Wakeword doesn't have an entry falling backto old listener config
2021-08-26 12:05:07.448 | INFO     |   403 | mycroft.client.speech.hotword_factory:load_module:477 | Loading "hey jarvis" wake word via precise
2021-08-26 12:05:07.455 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): github.com:443
12:05:07.455 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): github.com:443
2021-08-26 12:05:07.556 | DEBUG    |   403 | mycroft.util.monotonic_event:wait_timeout:53 | Will wait for 9.899807870000018 sec for Event
2021-08-26 12:05:07.639 | DEBUG    |   403 | urllib3.connectionpool | https://github.com:443 "GET /MycroftAI/precise-data/raw/dist/aarch64/latest HTTP/1.1" 302 142
12:05:07.639 - urllib3.connectionpool - DEBUG - https://github.com:443 "GET /MycroftAI/precise-data/raw/dist/aarch64/latest HTTP/1.1" 302 142
2021-08-26 12:05:07.651 | DEBUG    |   403 | urllib3.connectionpool | Starting new HTTPS connection (1): raw.githubusercontent.com:443
12:05:07.651 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): raw.githubusercontent.com:443
2021-08-26 12:05:07.766 | DEBUG    |   403 | urllib3.connectionpool | https://raw.githubusercontent.com:443 "GET /MycroftAI/precise-data/dist/aarch64/latest HTTP/1.1" 200 111
12:05:07.766 - urllib3.connectionpool - DEBUG - https://raw.githubusercontent.com:443 "GET /MycroftAI/precise-data/dist/aarch64/latest HTTP/1.1" 200 111
2021-08-26 12:05:08.848 | WARNING  |   403 | mycroft.client.speech.hotword_factory:initialize:496 | Could not found find model for hey jarvis on precise.
2021-08-26 12:05:08.854 | INFO     |   403 | mycroft.client.speech.hotword_factory:load_module:477 | Loading "hey jarvis" wake word via pocketsphinx
2021-08-26 12:05:08.962 | DEBUG    |   403 | mycroft.util.monotonic_event:wait_timeout:53 | Will wait for 9.89981207400001 sec for Event
2021-08-26 12:05:08.966 | INFO     |   403 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
2021-08-26 12:05:08.971 | INFO     |   403 | mycroft.client.speech.hotword_factory:load_module:477 | Loading "wake up" wake word via pocketsphinx
2021-08-26 12:05:09.076 | DEBUG    |   403 | mycroft.util.monotonic_event:wait_timeout:53 | Will wait for 9.899819036999986 sec for Event
2021-08-26 12:05:09.142 | WARNING  |   403 | mycroft.util.plugins:load_plugin:52 | Could not find the plugin mycroft.plugin.stt.chromium_stt_plug
2021-08-26 12:05:09.144 | INFO     |   403 | mycroft.stt:create:645 | Loaded the STT plugin chromium_stt_plug
2021-08-26 12:05:09.147 | ERROR    |   403 | mycroft.stt:create:650 | The selected STT backend could not be loaded, falling back to default...
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mycroft/client/speech/hotword_factory.py", line 490, in initialize
    instance = clazz(hotword, config, lang=lang)
  File "/usr/lib/python3.8/site-packages/mycroft/client/speech/hotword_factory.py", line 211, in __init__
    precise_exe = self.update_precise(precise_config)
  File "/usr/lib/python3.8/site-packages/mycroft/client/speech/hotword_factory.py", line 242, in update_precise
    precise_exe = self.install_exe(precise_config['dist_url'])
  File "/usr/lib/python3.8/site-packages/mycroft/client/speech/hotword_factory.py", line 274, in install_exe
    raise TriggerReload
mycroft.client.speech.hotword_factory.TriggerReload

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mycroft/stt/__init__.py", line 646, in create
    return clazz()
TypeError: 'NoneType' object is not callable

from ovos-buildroot.

ChanceNCounter avatar ChanceNCounter commented on June 1, 2024

Indeed, inappropriate PocketSphinx activations are no surprise. Sometimes I drive with PocketSphinx running on my phone, and it goes off when I hit a bump!

I think that's probably a config problem, but I don't mess with Precise. @JarbasAl?

from ovos-buildroot.

JarbasAl avatar JarbasAl commented on June 1, 2024

can you share your config? my guess is that its using the old plugins pre migration to OVOS, the fallback to pocketsphinx is hardcoded from mycroft-core, and only works for "hey mycroft" since the phonemes etc are undefined for other words (our plugin should accout for this, but core wont use the plugin in fallback)

slightly more concerning and weird is the logs saying STT failed to load before the wake word failures, it def looks like a bad config (prolly my fault with bad docs)

@limitless-code can you share your .conf ?

from ovos-buildroot.

limitless-code avatar limitless-code commented on June 1, 2024

Attached, have also supplied logs. I have redacted some sensitive bits in the logs.
mycroft-conf-logs.zip

I did try to swap Hey Jarvis to Hey Mycroft but my sd card got corrupted after 'sudo reboot'
Tried a different sd card but the exact same thing happens after 'sudo reboot'

It tries to start then RPI4 green led flashes 4 times and fails to boot. I don't think both sd cards could have a problem, seems too consistent?

from ovos-buildroot.

JarbasAl avatar JarbasAl commented on June 1, 2024

does it work if you replace "jarbas_precise_ww_plug" with "ovos-ww-plugin-precise" ?

i dont see stt changed anywhere, did you previously select the local backend (it messes with user config)?

from ovos-buildroot.

limitless-code avatar limitless-code commented on June 1, 2024

@JarbasAl

I tried the replace suggestion but doesn't improve things. I clicked on mycroft backend and paired via setup screen (with hey jarvis wake word) on first boot after setting up Wifi, nothing else was touched. Still does not respond to "Hey Jarvis" but also now does not do TTS. I did have to do 'sudo systemctl stop mycroft' and 'sudo systemctl start mycroft', not sure if this is the correct way, as cannot reboot the pi without it corrupting the sd card currently.

Same looping wake word detection happening.

It still plays the video and audio of the video though after typing in cli "play new retrowave"

latest logs and configs attached
mycroft.zip

from ovos-buildroot.

limitless-code avatar limitless-code commented on June 1, 2024

mycroft.zip

@JarbasAl

Attached are logs and configs from another fresh install with the Mycroft Backend but paired with 'Hey Mycroft' instead of 'Hey Jarvis' for comparison. Hey Mycroft behaves much better. When music/ video is playing wake word detection happens every few minutes compared to Hey Jarvis which was every few seconds. It still doesn't respond to spoken "hey Mycroft" as it did on picroft but I suspect that's the Mic settings.

re: rpi4 bricking itself after 'sudo reboot' that seems to be OK now after pressing the SD card holder on the RPI4 in more so the all the PINs are in contact with the SD card.

from ovos-buildroot.

limitless-code avatar limitless-code commented on June 1, 2024

A quick note/ query re: video playback. When playing a video with music with a still image everything works as it should. If it plays a full moving video, the audio and video stutters. It is running via a HDMI port on a big screen. Not sure if VLC (I presume it's using VLC) has hardware acceleration enabled or not. I know in the past the 64 bit kernel (in general and not specific to OVOS) did not have this feature configured/ implemented for VLC. I see the kernel for OVOS is aarch64.

from ovos-buildroot.

j1nx avatar j1nx commented on June 1, 2024

Should be fixed by now

from ovos-buildroot.

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.