diff --git a/README.md b/README.md index 41d6f01..50565dd 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,22 @@ but has since grown to include a wide range of features, including: * Execute the command `pip install kivy_deps.glew kivy_deps.sdl2 kivy_deps.gstreamer kivy` * Start the app by running `python katrain.py` in the directory where you downloaded the scripts. Note that the program can be slow to initialize the first time, due to kata's gpu tuning. -### Installation for Linux/Mac users +### Installation for Linux users * This assumed you have a working Python 3.6/3.7 installation as a default. If your default is python 2, use pip3/python3. Kivy currently does not have a release for Python 3.8. * Git clone or download the repository. -* `pip install kivy` +* Run the command `pip install kivy` in the terminal. * A binary for KataGo is included, but if you have compiled your own, point the 'engine/katago' setting to the relevant KataGo v1.3.5+ binary. * Start the app by running `python katrain.py`. Note that the program can be slow to initialize the first time, due to KataGo's GPU tuning. - + +### Installation for MacOS users + +* Git clone or download the repository. +* Run the command `pip install kivy` in the terminal. +* Follow instructions [here](https://github.com/lightvector/KataGo) to install KataGo using brew, or compile it yourself. +* Start the app by running `python katrain.py`, change the path of the 'katago' setting to `/usr/local/bin/katago` when using Brew, or the path + where you compiled it, and click 'Apply and Save'. + ## Manual ### Play diff --git a/config.json b/config.json index 9da299c..ded6119 100644 --- a/config.json +++ b/config.json @@ -98,7 +98,7 @@ "_help_right": "Lower `stddev` makes it prefer closer moves." }, "P:Tenuki": { - "pick_override": 0.9, + "pick_override": 0.85, "stddev": 7.5, "pick_n": 5, "pick_frac": 0.7, diff --git a/review.py b/review.py index c61d3c8..d6712cf 100644 --- a/review.py +++ b/review.py @@ -18,8 +18,10 @@ with open("config.json") as f: game_settings = settings["game"] trainer_settings = settings["trainer"] -#engine_settings['threads'] = 32 +engine_settings['threads'] = 16 +#engine_settings['katago'] = 'KataGo/katago-bs' engine_settings["max_time"] = 1000 +engine_settings["max_visits"] = 50 class Logger: def log(self, msg, level):