From ff9b2ffa79bdd12460b97d633b16315816c95202 Mon Sep 17 00:00:00 2001 From: mngav <44953898+mgavish@users.noreply.github.com> Date: Thu, 27 Aug 2020 10:58:38 -0400 Subject: [PATCH] commented out Torch in .cfg file and added instruction in README to pip install Torch dependency --- README.rst | 14 +++++++++++++- setup.cfg | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 8eaeabd..b8c2e41 100644 --- a/README.rst +++ b/README.rst @@ -7,10 +7,22 @@ Installation To download this code and install in development mode, do the following: .. code-block:: - + + $ fork a copy $ git clone https://github.com/CoronaWhy/drug-lit-contradictory-claims.git $ cd drug-lit-contradictory-claims $ pip install -e . + +Dependencies +------------ +.. code-block:: + + $ pip install Torch: + - Windows - pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html + - Mac - pip install torch torchvision + # MacOS Binaries dont support CUDA, install from source (https://pytorch.org/) if CUDA is needed + - Linux - pip install torch torchvision + Testing |build| |coverage| -------------------------- diff --git a/setup.cfg b/setup.cfg index a9a7e2f..6eb3458 100644 --- a/setup.cfg +++ b/setup.cfg @@ -47,7 +47,7 @@ install_requires = scikit-learn scispacy tensorflow - torch + #torch transformers wandb==0.9.4 # python-s3 @ https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.2.4/en_core_sci_lg-0.2.4.tar.gz