gsbDBI / ds-wgan

Design of Simulations using WGAN
MIT License
48 stars 16 forks source link

Added environment.yml #1

Closed hsheldah closed 5 years ago

hsheldah commented 5 years ago

Adding an up-to-date conda environment file. This doesn't specify which versions to use. The requirements.txt file is not up to date.

halflearned commented 5 years ago

Some more context on this: having an up-to-date environment file makes it much easier for contributors to get set up, especially when working on multiple projects across multiple machines (e.g locally + on Sherlock/yens), like we often do.

The setup instructions are just:

git clone https://www.github.com/gsbDBI/ds-wgan 
cd ds-wgan
conda env create -f environment.yml

From thereon, just use

conda activate wgan
python # or jupyter, or whatever
evanmunro commented 5 years ago

I don't think we will include a separate conda environments file, but we should include instructions in the readme for installation for those who prefer to use conda instead of virtualenv and pip. Feel free to suggest edits on this PR.