[+] Create setup guide

This commit is contained in:
Hykilpikonna
2021-12-22 22:38:49 -05:00
committed by GitHub
parent eb0a97f8c4
commit cfc0e4cf3c
+31
View File
@@ -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"
```