From cd3a56404022494b45d08deb61c66068499072a2 Mon Sep 17 00:00:00 2001 From: Greg Lever Date: Sat, 19 Oct 2019 07:17:52 +0100 Subject: [PATCH] Add Requirements --- README.md | 12 ++++++++++++ requirements.txt | 8 ++++++++ 2 files changed, 20 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 4b516e0..1e6bfaf 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,18 @@ Dependencies: - sklearn - cython +The dependencies can be installed via pip and a virtual environment in the following way: + +First initialise the virtual environment: +``` +python3 -m venv .env +source ./.env/bin/activate +``` +and then install the requirements: +``` +pip install -r requirements.txt +``` + Run setup.py to compile the cython files: ``` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a10fd6a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +torch==1.3.0 +torchvision==0.4.1 +numpy==1.17.3 +scipy==1.3.1 +pandas==0.25.2 +sklearn==0.0 +scikit-learn==0.21.3 +Cython==0.29.13