Improve your shapes and intuition in the game of Go.
Tailered to your weaknesses from your own games. Using human supervised learning for questions and answers of your skill level.
I made this in a few hours for myself and decided last minute that others might find it useful too. The code is a mix of lightvector's KataGo python scripts, mine and ChatGPT's so it's a bit of a mess. I can't guarantee that it works correctly or even works at all on your system. That said, I'd apreciate any suggestions, bug reports or contributions.
- KataGo with a model.
- A HSL model. For example this model from lightvector. Check the Discord server for possibly newer versions.
- Python. Version 3.10.6 works for me.
- Run
pip install -r requirements.txt
to install the necessary python packages. - Install PyTorch.
- Change the parameters in
Reviewer.bat
to your own. If you're not sure about the device,CPU
is a slow but safe bet. Format (SGF and PLAYER are optional):[HSL_MODEL] [HSL_DEVICE] [KATAGO_EXE] [KATAGO_ANALYSIS_CFG] [KATAGO_MODEL] (SGF) (PLAYER)
- Run Reviewer.bat
- Set the color you were in the game you want to review.
- Optionally change the HSL sliders.
- Drag & drop your game sgf.
- Wait until the console says
=== REVIEW DONE ===
There are also some options you can tweak at the top in hsl_reviewer.py
.
- Run Trainer.bat
- Load a card and think of a move.
- Click on the board to see the answer.
- Delete the card if you feel the answer is easy.
- Load the next card.
It should also work on linux and mac. Just run hsl_reviewer.py
or hsl_trainer.py
directly.
X = Game move
O = HSL move