Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 564 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 564 Bytes

Single player Alpha Zero implementation

Code for the blog post https://tmoer.github.io/AlphaZero/

Usage

Tested with Ubuntu 21.10 python 3.7 (I used pyenv to run old python). Note that an old python version is required to be able to use the old Tensorflow version (1.x) required by this code.

pyenv install 3.7.12
pyenv local 3.7.12
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python alphazero.py --n_ep 50 --n_mcts 10