MycroftAI / mycroft-precise

A lightweight, simple-to-use, RNN wake word listener
Apache License 2.0
854 stars 230 forks source link

Installing precise on rpi4. #239

Open ipernjakovic opened 1 year ago

ipernjakovic commented 1 year ago

I've installed precise on ubuntu 22.04 on my laptop the other day with so much pain (had to downgrade python to 3.7 and even then it was a pain but in the end i made it work somehow) but now i'm trying to install it on rpi4 and no matter what i try it just doesnt want to install tensorflow 1.13. Can someone please tell me if you managed to install it on rpi4 and HOWWWW.

thanks!

ichDaheim commented 1 year ago

I am having the same problem. Tensorflow min. Version available via pip is 2.10. But when I install it and run "precise-listen mycroft.net -d mycroft/not-wake-word" i get the error: AttributeError: module 'tensorflow' has no attribute 'Session'

on raspi 4 with: Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.15.84-v8+ Architecture: arm64 Python: 3.7.15

ichDaheim commented 1 year ago

Is this repo still maintained ?

rbrisita commented 1 year ago

For news on the company read this.

To build from source follow these steps:

  1. git clone https://github.com/MycroftAI/mycroft-precise.git
  2. cd mycroft-precise
  3. python3 -m venv .venv
  4. source .venv/bin/activate
  5. python3 -m pip install --upgrade pip
  6. pip install wheel
  7. git fetch origin pull/141/head:tf
  8. git checkout tf
  9. edit setup.py and change tensorflow-gpu to tensorflow with no pinning.
  10. ./setup.sh