Life In 19x19 http://www.lifein19x19.com/ |
|
KaTrain Bug and Suggestions http://www.lifein19x19.com/viewtopic.php?f=18&t=19192 |
Page 1 of 1 |
Author: | RobertJasiek [ Fri Jun 09, 2023 11:41 pm ] |
Post subject: | KaTrain Bug and Suggestions |
SYNTAX For Windows, the manual ought to describe the syntax of, and give examples for, the command line for a) paths without blanks, b) paths with blanks, c) commands with gtp, d) commands without gtp, e) commands with -model, f) commands without -model, g) commands with -config, h) commands without -config etc. as far as such variants are possible. Currently, I guess that the following is an example with a correct syntax but I cannot be sure due to bugs: Code: C:\katago\katago.exe gtp -model C:\katago\b18.bin.gz -config C:\katago\gtp_custom.cfg PATH TO KATAGO MODEL FILE KaTrain 1.7.2.0 for Windows writes in General & Engine Settings, for example, Code: Path to KataGo model file = C:/baduk/lizzie/KataGo40b.gz In Windows, this is misleading as it suggests an apparently wrong syntax for the command line. Windows paths use backslashes instead of slashes. Therefore, the following with backslashes should be written: Code: Path to KataGo model file = C:\baduk\lizzie\KataGo40b.gz BUG I use Windows 11 Pro 64b, Baduk AI Megapack 4_18_0 x64 and its KaTrain 1.7.2.0. In Lizzie, the following command line works: Code: C:\katago\katago.exe gtp -model C:\katago\b18.bin.gz -config C:\katago\gtp_custom.cfg In KaTrain, this command line does not work, although I guess that it has a correct syntax. For details, see https://www.lifein19x19.com/viewtopic.p ... 63#p278163 https://www.lifein19x19.com/viewtopic.p ... 84#p278184 https://www.lifein19x19.com/viewtopic.p ... 87#p278187 |
Author: | Cassandra [ Sat Jun 10, 2023 12:58 am ] |
Post subject: | Re: KaTrain Bug and Suggestions |
RobertJasiek wrote: PATH TO KATAGO MODEL FILE[/b] KaTrain 1.7.2.0 for Windows writes in General & Engine Settings, for example, Code: Path to KataGo model file = C:/baduk/lizzie/KataGo40b.gz In Windows, this is misleading as it suggests an apparently wrong syntax for the command line. Windows paths use backslashes instead of slashes. Therefore, the following with backslashes should be written: Code: Path to KataGo model file = C:\baduk\lizzie\KataGo40b.gz In Windows CMD inputs, "/" can be used instead of "\". You can also mix these in one full filename. Windows' output uses only "\", of course. |
Author: | RobertJasiek [ Sat Jun 10, 2023 9:13 am ] |
Post subject: | Re: KaTrain Bug and Suggestions |
According to https://www.lifein19x19.com/viewtopic.p ... 08#p278208 KaTrain is not buggy but expects a different command line and CFG file: If analysis_config.cfg is missing, copy analysis_example.cfg to analysis_config.cfg . In KaTrain | General & Engine Settings | Override set a command line like this: C:\<path>\katago.exe analysis -model C:\<path>\<model_name>.bin.gz -config C:\<path>\analysis_config.cfg This works for me for a KataGo OpenCL version. Whether CUDA or TensorRT versions work with the same kind of command, I need to test later. If gtp_custom.cfg is the tuning file, editing of the contents of analysis_config.cfg may be necessary for (much) faster analysis by KataGo. |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |