From cbe8865db056dbc6b03812217d0deb05629f7823 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 14 Aug 2022 16:42:30 +0100 Subject: [PATCH] Upgrade to TF 2.7.1 with Aarch64 wheels to hopefully make this usable on R0 --- README.md | 6 ++++++ setup.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af667fa..e9d6164 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +# rei's fork of Precise-Lite + +* To install, use `pip3 install . ./runner` for both the engine and runner. All training scripts are included. + * Use an up-to-date pip to avoid installing conflicting requirements! +* This fork supports Aarch64 using the `tensorflow_aarch64` packages. + # Mycroft Precise-Lite *A lightweight, simple-to-use, RNN wake word listener.* diff --git a/setup.py b/setup.py index 02abb56..68b2dee 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,8 @@ setup( }, install_requires=[ 'numpy', - 'tensorflow==2.3.1', + 'tensorflow==2.7.1;platform_system==\'Linux\' and platform_machine==\'x86_64\'', + 'tensorflow_aarch64==2.7.1;platform_system==\'Linux\' and platform_machine==\'aarch64\'', 'sonopy', 'pyaudio', 'h5py',