suragnair / alpha-zero-general

A clean implementation based on AlphaZero for any game in any framework + tutorial + Othello/Gobang/TicTacToe/Connect4 and more
MIT License
3.9k stars 1.04k forks source link

Shall we use 2 channels for the board representation? #323

Open zjusbo opened 1 week ago

zjusbo commented 1 week ago

In the AlphaGo Zero paper, regardless of the 8 history boards, they use separate boards to represent white and black stones. And the first CNN layer has 2 channels.

Shall we use 2 channels for the input CNN layer, and use two channels to represent white stones and black stones separately?