ihavnoid / leelaz-ninenine

A 9x9 fork of leela-zero, which is targeted to provide a learning exercise with limited resources
GNU General Public License v3.0
25 stars 8 forks source link

Can you do a 7 by 7 ? #1

Open bochen2027 opened 6 years ago

bochen2027 commented 6 years ago

Can you make a 7 by 7 version?

This would simplify it even more and since 7 by 7 is fully solved, it can be more straightforward in using it as an example.

ihavnoid commented 6 years ago

Instead of doing it myself, I merged https://github.com/gcp/leela-zero/pull/928 from upstream. Now you can modify config.h and change the board size to something smaller.

I am already running 9x9 for at least a weak on my PC and getting some meaningful results - not superhuman level, but learning quite a bit. :)

bochen2027 commented 6 years ago

@ihavnoid is config.h the only thing that needs to be changed? in theory how small of a board can I use? 2 by 2 ? Or would five by five be the smallest meaningful for Go?

ihavnoid commented 6 years ago

@hydrogenpi Sorry I never noticed you left this comment - yes in theory it should work for any odd-sized board size. But I only tested it for 9x9 and 19x19.

bvandenbon commented 6 years ago

@ihavnoid any results yet ? really curious what LeeLa Zero's favorit opening is on 9x9.

ihavnoid commented 6 years ago

I did have some results but currently I don't have access to my equipment... will follow up later.

fantianwen commented 5 years ago

except for the boardsize in config.h

I think the super parameter in Dir(alpha) should also be modified, in 19x19 the alpha is 0.03(according to AlphaZero from the paper), but in the size of 7, there should be another number.