KaTrain Bug and Suggestions
Posted: Fri Jun 09, 2023 11:41 pm
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:
PATH TO KATAGO MODEL FILE
KaTrain 1.7.2.0 for Windows writes in General & Engine Settings, for example,
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:
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:
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
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: Select all
C:\katago\katago.exe gtp -model C:\katago\b18.bin.gz -config C:\katago\gtp_custom.cfgPATH TO KATAGO MODEL FILE
KaTrain 1.7.2.0 for Windows writes in General & Engine Settings, for example,
Code: Select all
Path to KataGo model file = C:/baduk/lizzie/KataGo40b.gzCode: Select all
Path to KataGo model file = C:\baduk\lizzie\KataGo40b.gzBUG
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: Select all
C:\katago\katago.exe gtp -model C:\katago\b18.bin.gz -config C:\katago\gtp_custom.cfghttps://www.lifein19x19.com/viewtopic.p ... 63#p278163
https://www.lifein19x19.com/viewtopic.p ... 84#p278184
https://www.lifein19x19.com/viewtopic.p ... 87#p278187