(Tested on Ubuntu 20.04)
- Clone the repo.
- Set up a Conda env.
- Install python modules (including bundled dependencies).
git clone --recursive [email protected]:indylab/sp-psro.git
cd grl
If you've already cloned this repo but not the submodules, you can clone them with:
git submodule update --init --recursive
After installing Anaconda, enter the repo directory and create the new environment:
conda env create -f environment.yml
conda activate sp_psro
DeepMind's OpenSpiel is used for poker game logic as well as tabular game utilities. We include a slightly modified fork as a dependency.
# Starting from the repo root
cd dependencies/open_spiel
./install.sh
OPEN_SPIEL_BUILD_WITH_ACPC=OFF OPEN_SPIEL_BUILD_WITH_HANABI=OFF pip install -e . # This will start a compilation process. May take a few minutes.
cd ../..
# Starting from the repo root
pip install -e .