Page 2 of 2

Re: LCZero in Aquarium / Fritz

Posted: Fri Apr 13, 2018 8:52 pm
by velmarin
It's close now, if I can just buy some time and finish it.:D

Image

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 11:41 am
by Jens H.
Thats how the polyglot.ini should look like for the Fritz GUI. It works perfectly for my system (Win 10 pro 64 bit, Fritz 15):

[PolyGlot]
EngineCommand=lczero.exe --uci
EngineDir=.
Log=true
LogFile=polyglot.log
ShowTbHits=false
Book=false
[Engine]
Hash=128
SyzygyPath=

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 1:22 pm
by main line
Yes it's working and I tried your command in InBetween too

[InBetween]

CommandLine := lczero.exe --uci -w 5ba023b578d583d5911b299a6b99c433aa52753404493bf1aa5c4422c2f7e053 -t 1

[Client2Server]


[Server2Client]

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 1:28 pm
by Jens H.
You can even leave out the "-w 5ba....." parameter when you name your networks file weights.txt

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 4:13 pm
by hgm
main line wrote:Here is my Leela folder and polyglot.ini but I couldn't instal it in Fritz 15. What is wrong?
That is weird. What works from the command line should work in a GUI. Unless Fritz doesn't automatically switch to the directory where Polyglot is sitting. Then Polyglot would not be able to find its files (polyglot.ini and the engine).

Anything elucidating in the polyglot.log file?

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 4:14 pm
by AdminX
hgm wrote:
main line wrote:Here is my Leela folder and polyglot.ini but I couldn't instal it in Fritz 15. What is wrong?
That is weird. What works from the command line should work in a GUI. Unless Fritz doesn't automatically switch to the directory where Polyglot is sitting. Then Polyglot would not be able to find its files (polyglot.ini and the engine).
I think it was just missing the --UCI argument at the end.

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 4:30 pm
by hgm
So how could it work from the command prompt? What he shows looks pretty much like regular UCI to me.

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 4:38 pm
by AdminX
hgm wrote:So how could it work from the command prompt? What he shows looks pretty much like regular UCI to me.
That tag is not needed at the command line. It's not even needed in the Shredder GUI, but it is needed for the Fritz GUI. I don't know why that is so.

Re: LCZero in Aquarium / Fritz

Posted: Sat Apr 14, 2018 8:42 pm
by Jens H.
AdminX wrote:
hgm wrote:So how could it work from the command prompt? What he shows looks pretty much like regular UCI to me.
That tag is not needed at the command line. It's not even needed in the Shredder GUI, but it is needed for the Fritz GUI. I don't know why that is so.
The command line parameters are described here:
https://github.com/glinscott/leela-ches ... -Chess-GUI

Citation:
-uci:
Don’t initialize the engine until “isready” command is sent. Use this if your GUI is freezing on startup.

Re: LCZero in Aquarium / Fritz

Posted: Sun Apr 15, 2018 9:54 pm
by main line
Released new version 0.6

https://github.com/glinscott/leela-ches ... s/tag/v0.6

How to set parameters in poyglot.ini for reading compressed network weights?

And how to set polyglot.ini for GPU-version? Is it same as CPU-version ?