From cfc0e4cf3cb8cbde46d41083f61c838abb3cc10a Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 22 Dec 2021 22:38:49 -0500 Subject: [PATCH] [+] Create setup guide --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..340c659 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# SpeechGenderAnalysis + +## Setup + +### MacOS + +1. Create virtual environment: + +```sh +python3.8 -m venv venv8 +source venv8/bin/activate +``` + +2. Install dependencies: + +```sh +pip3 install -r requirements.txt +``` + +3. Configure `plaidml` to use GPU: + +```sh +plaidml-setup +``` + +4. Configure environment variables: + +```sh +export KERAS_BACKEND="plaidml.keras.backend" +export tg_token="Your telegram token here" +```