This is the source code for my bacholor thesis project.
- Install miniconda or anaconda
- Clone this repository
- Run
conda env create -f ./environment.yml
in this repository to create the environmentaeduin-rl
- Run
conda activate aeduin-rl
- Install [https://github.com/adambielski/GrouPy]. Make sure you install it inside the
aeduin-rl
environment by running the command above if you open an new shell.
- Execute
python train.py
to train an AI. Change themodel_name
variable in the source code to change which network architecture is used. - If you want to see it play: in
visualize_play.py
, modify themodel =
andmodel.load_state_dict(...)
variables (train.py
automatically outputs trained state dicts inmodel_output/
). Then runpython visualize_play.py