Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1016 Bytes

ReadMe.md

File metadata and controls

36 lines (24 loc) · 1016 Bytes

AlphaZero reproduction

Requirements

joblib==0.14.1
scipy==1.4.1
matplotlib==3.1.2
numpy==1.16.2
tensorflow==2.1.0

Usage

It is possible to simulate game using play.py.

    goban = Goban()
    player1, player2 = AlphaZeroPlayer(
        goban._WHITE, goban.get_board_size(), "saves/test1/best/model"), MCTSPlayer(goban._BLACK, goban.get_board_size())
    play(player1, player2, goban)

To train the AlphaZero player, simply launch from the root of the project:

python trainMcts.py --name model_name