Analysis script for SGF files using Leela Zero.
- Requires gofish library (which I've included in this repo).
- Requires Leela Zero 0.17.
- The
config.json
file will need to be altered for anyone else's machine.
The lza.py
script will create a new SGF file with winrates and preferred moves in the comments. It also adds Sabaki's SBKV
tags, meaning that Sabaki can be used to visualise the winrate graph when used to view the SGF file.
Alternatively, the new SGF file can also be passed to graph.py
to create a winrate graph: