glinscott / leela-chess

**MOVED TO https://github.com/LeelaChessZero/leela-chess ** A chess adaption of GCP's Leela Zero
http://lczero.org
GNU General Public License v3.0
759 stars 298 forks source link

Ftitz 16 #530

Open FWCC1 opened 6 years ago

FWCC1 commented 6 years ago

Can not load Leela version 8 into Fritz 16 GUI

kpu3uc commented 6 years ago

you need to name the network weights.txt and put near lczero.exe

chara1ampos commented 6 years ago

I named the network weights.txt and it can play on Fritz 14. But when playing online against other engines, it plays the first move, then the opponent plays, and then the Leela engine stops thinking. It just does not work any more. Please fix, this is a really bad issue. We cannot play online with other engines.

killerducky commented 6 years ago

Please add -l log.txt to your lczero.exe command line, and post the log.txt here.

chara1ampos commented 6 years ago

@killerducky You cannot pass command line commands in Fritz unfortunately. I tried to pass them using InBetween.exe, but Fritz does not seem to accept InBetween as a chess engine.

killerducky commented 6 years ago

Many people have reported inbetween works, can someone help him out?

Making the engine more UCI compliant is on the TODO list, there is a PR open to make some progress on this.

killerducky commented 6 years ago

See here https://github.com/glinscott/leela-chess/wiki/Running-Leela-Chess-Zero-in-a-Chess-GUI#fritz

chara1ampos commented 6 years ago

@killerducky Thanks, I managed to make InBetween.exe work, and to log errors. I tried to play two games, here is logfile: logfile.log

Here is the error in the 1st game: 19.750: < info depth 2 seldepth 31 time 7278 nodes 32131 score cp -6 hashfull 123 nps 4414 pv c7c5 g1f3 d7d6 f1b5 b8d7 e1g1 g8f6 f1e1 e7e6 c2c3 f8e7 d2d4 e8g8 e4e5 d6e5 d4e5 f6d5 b5d3 d8c7 d1e2 b7b6 e2e4 g7g6 c1h6 c8b7 19.750: < bestmove c7c5 ponder g1f3 19.765: > position startpos moves e2e4 c7c5 g1f3 19.765: > setoption name Ponder value true 19.765: > go ponder btime 284000 wtime 300000 19.812: < error Unexpected token: ponder 20.203: > stop

Here is the error in the 2nd game: 67.250: < info depth 2 seldepth 33 time 21308 nodes 103339 score cp -6 hashfull 362 nps 4849 pv c7c5 g1f3 d7d6 c2c3 g8f6 f1d3 b8c6 d3c2 c8g4 d2d4 c5d4 c3d4 g4f3 g2f3 e7e5 d4d5 c6d4 c1e3 d4c2 d1c2 f8e7 c2a4 d8d7 a4d7 e8d7 b1c3 f6h5 e1d2 g7g6 67.250: < bestmove c7c5 ponder g1f3 67.250: > position startpos moves e2e4 c7c5 g1f3 67.250: > setoption name Ponder value true 67.250: > go ponder btime 930000 wtime 960000 67.344: < error Unexpected token: ponder 67.563: > ponderhit 67.563: < error Unknown command: ponderhit

It seems the error has to do with "ponder" or "ponderhit" commands not being recognized. You guys are doing an amazing job, any workarounds would be appreciated.

jjoshua2 commented 6 years ago

Lc0 doesn't support ponder. You have to turn off infinite brain or ponder in the gui

chara1ampos commented 6 years ago

@jjoshua2 Thanks. I'm afraid the option to turn off 'permanent brain' is not there at all in Fritz when playing online with other engines. So it seems it cannot be turned off. (I e-mailed the developers of Fritz, and await confirmation).

It is fine if Leela does not ponder when the opponent is thinking, but she should not just quit like that. Is there a way to make Leela not quit when she gets an unknown command such as "ponder" or "ponderhit"?

kpu3uc commented 6 years ago

also need update 15.36 for fritz 16 `ChangeLog GUI 15.36