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

Support for other board sizes than 19x19 #24

Closed
wensdong opened this issue Nov 8, 2017 · 5 comments
Closed

Support for other board sizes than 19x19 #24

wensdong opened this issue Nov 8, 2017 · 5 comments

Comments

@wensdong
Copy link

wensdong commented Nov 8, 2017

@gcp

Could you please point out where I can set the board to 9x9, so that I do some fast experiments?

Regards,

@gcp
Copy link
Member

gcp commented Nov 8, 2017

9x9 is not supported. The design of the policy head in the AlphaGo Zero neural network is specific to 19x19.

It's possible to modify the source and design a new head of course, but 9x9 support needs changes all over the source code because 19x19 and 361 are hardcoded in many places.

I welcome patches that make the program more generic but I have zero interest in doing work for non 19x19 boards myself.

@gcp gcp changed the title Configuration settings Support other board sizes than 19x19 Nov 8, 2017
@gcp gcp added the enhancement label Nov 8, 2017
This was referenced Nov 13, 2017
@gooooloo
Copy link

I make some modification to allow 9x9 playing in my fork https://github.com/gooooloo/leela-zero/tree/9x9. It is still under testing so bugs can be expected. Anyone interested is welcome to play around with that, and any feedback/bugfix is welcome.

@gcp
Copy link
Member

gcp commented Nov 16, 2017

Nice!

@gcp gcp reopened this Nov 16, 2017
@gcp gcp changed the title Support other board sizes than 19x19 Support for other board sizes than 19x19 Nov 16, 2017
@gcp
Copy link
Member

gcp commented Nov 16, 2017

I'll leave this issue open because the question comes up a lot and we can point people to your branch or perhaps merge back the changes at some point.

@Mardak
Copy link
Collaborator

Mardak commented May 7, 2018

This was fixed / made trivial with #928

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

No branches or pull requests

4 participants