Closed ak47ak50 closed 4 years ago
No. What is the error message?
ZenGTP> name = Zen7 ZenGTP> version = 0.4 ZenGTP> protocol_version = 2 ZenGTP> list_commands = name version quit known_command list_commands quit boardsize clear_board komi play genmove showboard undo pass genmove protocol_version strength maxtime rotate zen-analyze loadsgf printsgf savesgf time_settings lz-analyze time_left set_free_handicap final_score analyze go auto policy territory gogui-analyze_commands sabaki-genmovelog sabaki-flat
Starting Zen7... E:\zen7GTP/Zen.dll load ok Zen Initialize ok(59113473) Threads: 4 BoardSize: 19 Komi: 7.5 Resign: 10.0% Strength: 1000000 (counts, NN eval) MaxSim: 1000000000 (playouts, MCTS search) MaxTime: 30.0 PnLevel: 3 PnWeight: 1.00 VnMixRate: 0.75 ThinkInterval: 0.10 PrintInterval: 300.00
3.Do I send the GTP to you?
Looking at the screenshot, it seems the engine is sending an empty response when asked for genmove B
.
Can you please activate GTP logging in 'Preferences' > 'Engines', do this again, and send me the generated log file of GTP commands?
[2020-03-13 20:52:18.379](in) : name [2020-03-13 20:52:18.384] (in) : version [2020-03-13 20:52:18.386] (in) : protocol_version [2020-03-13 20:52:18.387] (in) : list_commands [2020-03-13 20:52:18.388] (meta) : Engine Started [2020-03-13 20:52:18.425] (err) : [2020-03-13 20:52:18.425] (err) : Starting Zen7... [2020-03-13 20:52:18.442] (err) : F:\Ѹ������\Zen�ر��\zen7/Zen.dll load ok [2020-03-13 20:52:19.631] (err) : Zen Initialize ok(42582017) [2020-03-13 20:52:19.632] (err) : Threads: 6 [2020-03-13 20:52:19.632] (err) : BoardSize: 19 [2020-03-13 20:52:19.632] (err) : Komi: 7.5 [2020-03-13 20:52:19.633] (err) : Resign: 10.0% [2020-03-13 20:52:19.633] (err) : Strength: 10000 (counts, NN eval) [2020-03-13 20:52:19.633] (err) : MaxSim: 1000000000 (playouts, MCTS search) [2020-03-13 20:52:19.634] (err) : MaxTime: 1000000000.0 [2020-03-13 20:52:19.634] (err) : PnLevel: 3 [2020-03-13 20:52:19.634] (err) : PnWeight: 1.00 [2020-03-13 20:52:19.635] (err) : VnMixRate: 0.75 [2020-03-13 20:52:19.635] (err) : ThinkInterval: 0.10 [2020-03-13 20:52:19.635] (err) : PrintInterval: 300.00 [2020-03-13 20:52:19.635] (err) : [2020-03-13 20:52:19.648] (out) : = Zen7 [2020-03-13 20:52:19.648] (out) : [2020-03-13 20:52:19.649] (out) : = 0.4 [2020-03-13 20:52:19.649] (out) : [2020-03-13 20:52:19.649] (out) : = 2 [2020-03-13 20:52:19.650] (out) : [2020-03-13 20:52:19.650] (out) : = name [2020-03-13 20:52:19.650] (out) : version [2020-03-13 20:52:19.651] (out) : quit [2020-03-13 20:52:19.651] (out) : known_command [2020-03-13 20:52:19.651] (out) : list_commands [2020-03-13 20:52:19.651] (out) : quit [2020-03-13 20:52:19.652] (out) : boardsize [2020-03-13 20:52:19.652] (out) : clear_board [2020-03-13 20:52:19.652] (out) : komi [2020-03-13 20:52:19.652] (out) : play [2020-03-13 20:52:19.652] (out) : genmove [2020-03-13 20:52:19.652] (out) : showboard [2020-03-13 20:52:19.653] (out) : undo [2020-03-13 20:52:19.653] (out) : pass [2020-03-13 20:52:19.653] (out) : genmove [2020-03-13 20:52:19.653] (out) : protocol_version [2020-03-13 20:52:19.654] (out) : strength [2020-03-13 20:52:19.654] (out) : maxtime [2020-03-13 20:52:19.654] (out) : rotate [2020-03-13 20:52:19.654] (out) : zen-analyze [2020-03-13 20:52:19.654] (out) : loadsgf [2020-03-13 20:52:19.654] (out) : printsgf [2020-03-13 20:52:19.655] (out) : savesgf [2020-03-13 20:52:19.655] (out) : time_settings [2020-03-13 20:52:19.655] (out) : lz-analyze [2020-03-13 20:52:19.655] (out) : time_left [2020-03-13 20:52:19.655] (out) : set_free_handicap [2020-03-13 20:52:19.655] (out) : final_score [2020-03-13 20:52:19.656] (out) : analyze [2020-03-13 20:52:19.656] (out) : go [2020-03-13 20:52:19.656] (out) : auto [2020-03-13 20:52:19.656] (out) : policy [2020-03-13 20:52:19.656] (out) : territory [2020-03-13 20:52:19.656] (out) : gogui-analyze_commands [2020-03-13 20:52:19.656] (out) : sabaki-genmovelog [2020-03-13 20:52:19.657] (out) : sabaki-flat [2020-03-13 20:52:19.657] (out) : [2020-03-13 20:52:29.048] (in) : komi 6.5 [2020-03-13 20:52:29.069] (out) : = [2020-03-13 20:52:29.070] (out) : [2020-03-13 20:52:29.089] (in) : boardsize 19 [2020-03-13 20:52:29.108] (err) : Komi: 7.5 -> 6.5 [2020-03-13 20:52:29.109] (err) : BoardSize: 19 -> 19 [2020-03-13 20:52:29.109] (out) : = [2020-03-13 20:52:29.110] (out) : [2020-03-13 20:52:29.120] (in) : clear_board [2020-03-13 20:52:29.135] (out) : = [2020-03-13 20:52:29.135] (out) : [2020-03-13 20:52:29.144] (in) : genmove B [2020-03-13 20:52:29.159] (out) : = [2020-03-13 20:52:29.160] (out) : [2020-03-13 20:52:29.198] (err) : * genmove for black... [2020-03-13 20:52:29.199] (err) : Synchronize -> 1 (0.00s) [2020-03-13 20:52:34.285] (err) : Sequence: Q16 D16 R4 D3 C5 P3 M4 R10 Q3 R13 [2020-03-13 20:52:34.286] (err) : Winning: 48.9% [2020-03-13 20:52:34.286] (err) : Count: 1606 [2020-03-13 20:52:34.286] (err) : Playout: 1905 [2020-03-13 20:52:34.286] (err) : Time: 5.12s [2020-03-13 20:52:34.286] (err) : Games/s: 371.78 [2020-03-13 20:52:34.286] (err) : Nodes: 12810 [2020-03-13 20:52:34.299] (err) : Synchronize -> 12810 (0.01s) [2020-03-13 20:52:34.358] (err) : Zen7-0.4 B No. 1 5.2s Q16 1606 48.87% Stop by Zen [2020-03-13 20:52:34.359] (err) : Q16 -> 1606, 48.87%, Q16 D16 R4 D3 C5 P3 M4 R10 Q3 R13 [2020-03-13 20:52:34.360] (err) : R16 -> 264, 49.97%, R16 D16 Q3 D4 F17 C14 [2020-03-13 20:52:34.361] (err) : K16 -> 5, 21.22%, K16 [2020-03-13 20:52:34.362] (err) : level result(terr,area) [2020-03-13 20:52:34.580] (err) : 0 92.5 93.5 [2020-03-13 20:52:34.587] (err) : 100 -14.5 -13.5 [2020-03-13 20:52:34.588] (err) : 200 -4.5 -3.5 [2020-03-13 20:52:34.588] (err) : 300 -6.5 -5.5 [2020-03-13 20:52:34.589] (err) : 400 -6.5 -5.5 [2020-03-13 20:52:34.589] (err) : 500 -6.5 -5.5 [2020-03-13 20:52:34.589] (err) : 600 -6.5 -5.5 [2020-03-13 20:52:34.590] (err) : 700 -6.5 -5.5 [2020-03-13 20:52:34.590] (err) : 800 -6.5 -5.5 [2020-03-13 20:52:34.590] (err) : 900 -6.5 -5.5 [2020-03-13 20:52:34.591] (err) : W+5.5 [2020-03-13 20:53:23.423] (in) : quit [2020-03-13 20:53:23.477] (meta) : Connection Failed [2020-03-13 20:53:23.491] (meta) : Engine Stopped
Seems like Zen is sending a wrong response at genmove B
. Can you try executing your engine on the command line and sending genmove B
to see what happens?
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>d:
D:\>cd zen7
D:\zen7>zengtp
Starting Zen7...
D:\zen7/Zen.dll load ok
Zen Initialize ok(41992193)
Threads: 4
BoardSize: 19
Komi: 7.5
Resign: 10.0%
Strength: 10000 (counts, NN eval)
MaxSim: 1000000000 (playouts, MCTS search)
MaxTime: 1000000000.0
PnLevel: 3
PnWeight: 1.00
VnMixRate: 0.75
ThinkInterval: 0.10
PrintInterval: 300.00
genmove b
* genmove for black...
Synchronize -> 1 (0.00s)
Sequence: Q16 D16 R4 D3 C5 P3 M4 P6 Q3 P4
Winning: 47.9%
Count: 1421
Playout: 1803
Time: 5.34s
Games/s: 337.325
Nodes: 11363
Synchronize -> 11363 (0.05s)
Zen7-0.4 B No. 1 5.5s Q16 1421 47.89% Stop by Zen
Q16 -> 1421, 47.89%, Q16 D16 R4 D3 C5 P3 M4 P6 Q3 P4
R16 -> 352, 48.34%, R16 D16 Q3 D4 F17
level result(terr,area)
0 91.5 92.5
100 -15.5 -14.5
200 -5.5 -4.5
300 -7.5 -6.5
400 -7.5 -6.5
500 -7.5 -6.5
600 -7.5 -6.5
700 -7.5 -6.5
800 -7.5 -6.5
900 -7.5 -6.5
W+6.5
= Q16
For completion's sake, please send all commands to the engine that Sabaki is sending.
Just in case, can you also check any difference between genmove b
and genmove B
I had a hunch what might be the problem here, so I pushed a potential fix. Can you please try to build Sabaki from master and see if you still experience the issue?
It's works well now . Thanks You!
In 0.43,I have many GTPs for Zen7 can play normally. But in new 0.5, every of GTPs can't run. Does GTP in Sabaki 0.5 changed?