Files
D-SCRIPT/docs/source/installation.rst
2022-04-29 10:44:20 -04:00

50 lines
755 B
ReStructuredText

Installation
============
Requirements
------------
* python 3.7
* pytorch 1.5
* h5py
* matplotlib
* numpy
* pandas
* scikit-learn
* scipy
* seaborn
* setuptools
* tqdm
Optional GPU support: CUDA Toolkit, cuDNN
Set up environment
------------------
.. code-block:: bash
$ git clone https://github.com/samsledje/D-SCRIPT.git
$ cd D-SCRIPT
$ conda env create --file environment.yml # Edit this file to change CUDA version if necessary
$ conda activate dscript
Install from pip
----------------
.. code-block:: bash
pip install dscript
Build from source
-----------------
.. code-block:: bash
$ git clone https://github.com/samsledje/D-SCRIPT.git
$ cd D-SCRIPT
$ python setup.py build; python setup.py install