Katrain

Latest version: v1.15.0

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.10.1

Major additions

* Continuous analysis or 'pondering' has been improved.
* It will now no longer schedule queries with increasing visits, but just use a single never-ending query.
* This also fixed a [bug with the region of interest function](https://github.com/sanderland/katrain/issues/483)
* This will break compatibility with KataGo versions older than v1.7.0.
* KataGo was upgraded to 1.10.0.
* The linux executable now includes a self-compiled, statically linked libzip, which should reduce [issues](https://github.com/sanderland/katrain/issues/482) with versioning.
* An AntiMirror AI option was added which uses KataGo's special mode for beating players who play mirror go.
* Scrolling through variations now only works while the cursor is on the board, reducing [conflict with browsing the move tree](https://github.com/sanderland/katrain/issues/461).
* Middle clicking while scrolling through variations [now adds it to the move tree](https://github.com/sanderland/katrain/issues/389).

Minor fixes and additions

* The SGF[ 'compressed points list'](https://github.com/sanderland/katrain/issues/474) functionality which allows you to place a square of stones is now supported
* On MacOS, command should function as ctrl
* The log file setting in the default config was removed, as it was broken
* A bug was fixed where the contribute function could break if the last game included handicap stones.
* The MacOS packages should now have [correct versioning](https://github.com/sanderland/katrain/issues/480)

Installation
* Windows users can simply download and run the KaTrain.exe file attached, or download the KaTrainWindows.zip file and run the .exe in that (which is slightly faster to start up)
* macOS users can use the attached KaTrainOSX.dmg (open, drag .app to applications). The first time you start the app, you will need to control-click the app in finder to allow installation. Note that on the newer Macs with M1 architecture, you still need to brew install katago, or compile katago yourself.
* Linux and macOS users can install using pip3 install -U katrain

After installing the program for the first time, it is recommended to check general settings (F8) and download the latest katago models.

1.9.3

![image](https://user-images.githubusercontent.com/48946947/123637150-fae69a00-d81d-11eb-98b4-ae7dca880db4.png)

Major features

* **KataGo Update**: This release includes KataGo 1.9 which includes major improvements. Upgrading is highly recommended.
* A major change is that the win rates and scores are unaffected by wider exploration, which allows for more use of the 'wide root noise' setting encouraging exploration. The default value of this has been changed to 0.04 in both KaTrain and KataGo itself.
* Particularly, you are likely to see fewer top moves with small positive changes in score, and fewer instances where the win rate/score oscillates at low visits settings.
* In addition, symmetry is taken into account. You might notice that in opening positions in particular this combination leads to very wide exploration. If you prefer to see fewer moves, you can change the wide root noise in general settings back to a lower value.
* One side-effect of this is that it breaks compatibility with some older versions (Around 1.7, such as the old 'bigger board size' binary). A new bigger board size binary is included in the downloadable katago versions.

* **Performance Report** : F3 / Analysis options now has a "performance report" which shows key statistics including AI match rate, mistakes of various kinds, and an overall rating.
* Keep in mind that this overall rating number is mainly for entertainment, and a low visit count will potentially result in unreliable numbers. [Suggestions for improvements](https://github.com/sanderland/katrain/issues/388) are welcome, but please do not file issues about individual games.

* **Better support for themes**
* Multiple theme files are now supported, allowing more easy installation of multiple themes, such as a board graphics change, and keyboard shortcuts. Any json file starting with "theme" in your settings folder is now included.
* Keyboard shortcuts can now be defined in themes. Thanks to electricRGB for helping with this, and pointing out that the current setup can be annoying for non-qwerty keyboards.
* See [here](THEMES.md) for more information, and further on in these release notes for a contest!

Minor features

* It is now possible to play a random sound in response to a mistake. See [here](https://www.youtube.com/watch?v=BmGn5T3xwu4) for a fun example. Thanks to [Mikkgo and Jeff](https://www.youtube.com/channel/UCXz28yKTrSiobcemJMCMnVg) for the sounds.
* When KataGo fails to start, or crashes, a pop-up with more detailed help opens up. [This page](ENGINE.md) will be linked as additional help. Feel free to contribute to it with solutions to problems I missed.
* You can now use the mouse scroll wheel to quickly scroll through a variation when hovering over a candidate move. Thanks to xiaoyifang for implementing this.
* You can now turn off window size/position restoration in general settings. This can help if this feature does strange things on multiple monitor setups.
* Sound should be more reliable, especially on Linux.

Theme contest

* To encourage exploration and development of the themes support, there will be a small contest during July.
* Valid contributions include both theme packages, as well as code that improves theme support or default looks and widget design.
* See the [OGS forums topic](https://forums.online-go.com/t/katrain-v1-9-theme-competition/37625) for details.

Installation

* Windows users can simply download and run the KaTrain.exe file attached, or download the KaTrainWindows.zip file and run the .exe in that (which is slightly faster to start up)
* macOS users can use the attached KaTrainOSX.dmg (open, drag .app to applications). The first time you start the app, you will need to [control-click the app in finder](https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac). Note that on the newer Macs with M1 architecture, you still need to `brew install katago`, or compile katago yourself.
* Linux and macOS users can install using `pip3 install -U katrain`
* For troubleshooting and installation from source follow instructions [here](https://github.com/sanderland/katrain/blob/master/INSTALL.md).

After installing the program, it is recommended to check general settings (F8) and download the latest katago models.

Patches

* 1.9.1: Fix for KivyMD breaking MRO on a patch upgrade
* 1.9.2: Upgrade to KataGo 1.9.1, preventing crashes of the engine.
* 1.9.3: Tiny fix for mac sounds, windows executables remain at 1.9.2 as they are unaffected.

1.8.4

This is a minor patch which includes:

* Support for rulesets which allow suicide, including in distributed training. The lack of support for this caused occasional errors when contributing to the distributed training project.
* Updated for downloading KataGo 1.8.1 in general settings, instead of KataGo 1.8.0

If you are not using KaTrain to contribute to [distributed training](https://katagotraining.org/), there is likely no need to update.

1.8.3

![image](https://user-images.githubusercontent.com/48946947/110167763-7dbe9180-7df6-11eb-9c4a-08ffc2438fd7.png)

YouTube Tutorials
* [Generated positions](https://www.youtube.com/watch?v=55FQFUqZyK0)

Major new features

* Contribute to [KataGo's distributed training run](https://katagotraining.org/)!
* A new option in the main menu will assist you in setting up contributing to distributed training
* Included binaries for Windows, Linux and MacOS should all support this mode.
* Keep in mind that the newer M1 macs needs you to compile katago yourself for this, as the current brew version does not support distributed training.
* You can watch games being played, exploring policy, potential moves and variations.
* Hit [spacebar] to switch between automatically playing and manually browsing through the current game.
* Most other options are disabled in this mode.
* See [here](https://github.com/sanderland/katrain#distributed) for more details.

* Setup position in new game
* The new game now has tabs for new game/edit rules/setup position
* Setup position will generate a position where one player is ahead.
* The intended use for this is to play against KataGo from an advantage, and try to win the game.
* For an extra challenge use KataHandicap, but remember to manually set the playout doubling advantage.

Minor features and bug fixes

* The 'show dots' toggle is back to having only two options, all off and 'some on'.
* This was mainly due to the 'next mistake' navigation making the view with all evaluations somewhat redundant, and not warranting the confusing 3-state checkbox.
* The option to determine how many moves to show then on is back in analysis options configuration.
* The window size/position is now saved on exit and restored on startup.
* The fast analysis and rewind to start options in 'load game' are now remembered.
* A new analysis option 'Reset analysis' was added which resets analysis to a single engine query, removing alternate moves and child move derived info.
* A new shortcut [**escape**] stops all analysis.
* This can break some features which expect analysis to be present, such as AI moves. Resetting with h or toggling continuous analysis will typically fix such edge cases.
* Nodes with clear location commands in the sgf (AE) are now correctly shown.
* However, they are not analyzed.
* Nodes with only edit position commands (AB/AW/AE) are now indicated in grey with a + in the move tree
* Scoring by ownership square counting in japanese rules no longer confuses the last dame with a point.


Installation

* Windows users can simply download and run the KaTrain.exe file attached, or download the KaTrainWindows.zip file and run the .exe in that (which is slightly faster to start up)
* macOS users can use the attached KaTrainOSX.zip (unzip, mount .dmg, drag .app to applications)
* Note that on the newer Macs with M1 architecture, you still need to `brew install katago`, or compile katago yourself.
* Linux and macOS users can install using `pip3 install -U katrain` or follow instructions [here](https://github.com/sanderland/katrain/blob/master/INSTALL.md).

Patches
* 1.8.1 Fix for single exe (homeDataDir)
* 1.8.2 Fix for cacert on alternate katago and sizing on retina displays.
* 1.8.3 Fix for >1M visits display and windows single exe distributed engine startup

1.7.6

* Better support for M1

1.7.4

* Fixed a bug in download models.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.