pachi
pachi copied to clipboard
dcnn detlef54 not working on 9x9
The provided network detlef54 works fine on 19x19. It's said it should work on 9x9 as well, but as soon as I enter boardsize 9
, the engine aborts:
$ ./pachi --dcnn
Pachi 12.40 (Jowa)
git 20b8c226 (master)
znver1 dcnn build, Apr 2 2020
Random seed: 1586419650
Loaded Detlef's 54% dcnn for 19x19
Loaded spatial dictionary of 18016 patterns.
Loaded 18101 gammas.
Checking gammas ... OK
Threads: 16
boardsize 9
IN: boardsize 9
=
dcnn required but not used, aborting.
Setting the debug level higher doesn't provide more insight in what's going wrong. As you see from the output, I used the current github branch to build pachi. If you need any further information please let me know. Or is this network not as "Fully convolutional, so can work with boards other than 19x19." as written here?
Thanks for your help.
Hi, You're absolutely right, the documentation is confusing right now:
Technically this network can work on 9x9 no problem, and initially it was enabled on all board sizes. But iirc it doesn't do very well on 9x9, the patterns for good 9x9 play are probably too different from the ones it's learned on 19x19, so right now it's only enabled for boards >= 13x13.
The check is done in dcnn.c, if you search for detlef54
at the top there's a board_13x13_and_up
next to it. It's pretty easy to change if you want to try the dcnn on 9x9.