Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcnn detlef54 not working on 9x9 #131

Open
shammyx opened this issue Apr 8, 2020 · 1 comment
Open

dcnn detlef54 not working on 9x9 #131

shammyx opened this issue Apr 8, 2020 · 1 comment

Comments

@shammyx
Copy link

shammyx commented Apr 8, 2020

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.

@lemonsqueeze
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants