pytorch / ELF

ELF: a platform for game research with AlphaGoZero/AlphaZero reimplementation
Other
3.37k stars 566 forks source link

Is the input feature format same as leela-zero? #112

Closed vigor95 closed 5 years ago

vigor95 commented 5 years ago

I need to confirm some details. From what I understand, at time t, the 18x19x19 input features contain(X is the current player and black the opponent):

1 Xt 2 Xt-1 ... 8 Xt-7 9 Yt 10 Yt-1 ... 16 Yt-7 17 All 1 if black is to move, 0 otherwise 18 All 1 if white is to move, 0 otherwise

qucheng commented 5 years ago

You are right. We follow the AGZ paper, and this is also why elf weights can be adapted to leela zero engine.