Installation
This section provides instructions on how to install the project either from source or from PyPI. Please prepare a terminal to run the following commands.
First, Please download and install Anaconda so that you can use commands from conda.
1.1 From Source
To install the project from source, follow these steps:
git clone https://github.com/Emory-Melody/EpiLearn.git
cd EpiLearn
# create a new environment using conda
conda create -n epilearn python=3.9
# activate environment
conda activate epilearn
1.2 From PyPI
To install the project from PyPI, use the following command:
pip install epilearn
2 Install Mandatory Packages
EpiLearn also requires pytorch>=1.20.
For CPU version, Please follow:
pip install torch
For GPU version, please install correct versions that match the cuda version on your machine. For more information, please refer to Pytorch, PyG and torch_scatter.