Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds some scripts that allow training a neural net so that when given a partial section of a 19x19 board, can "plausibly" fill in the rest of the board. A pretrained 10 block 128 channel neural net with alternating global pooling is provided here. The net is ONLY trained on single rectangular known sections, so there is no guarantee about what it does if given known regions of other shapes.
genboard10.zip
Usage looks like:
The net doesn't seem to always be the best - sometimes it will put stones on the board with 0 liberties, for example. It might also not obey the constraint that both players have played the same number of moves (or black 1 more), because this is a global thing that may understandably be hard for a neural net to do. But it typically generates very Go-like patterns, particularly in the opening.