LCZero in Aquarium / Fritz

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: LCZero in Aquarium / Fritz

Post by velmarin »

It's close now, if I can just buy some time and finish it.:D

Image
Jens H.
Posts: 4
Joined: Mon Apr 02, 2018 11:37 am

Re: LCZero in Aquarium / Fritz

Post 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=
main line
Posts: 60
Joined: Thu Jul 07, 2016 10:15 pm

Re: LCZero in Aquarium / Fritz

Post 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]
Jens H.
Posts: 4
Joined: Mon Apr 02, 2018 11:37 am

Re: LCZero in Aquarium / Fritz

Post by Jens H. »

You can even leave out the "-w 5ba....." parameter when you name your networks file weights.txt
User avatar
hgm
Posts: 27788
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: LCZero in Aquarium / Fritz

Post 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?
User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: LCZero in Aquarium / Fritz

Post 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.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
hgm
Posts: 27788
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: LCZero in Aquarium / Fritz

Post by hgm »

So how could it work from the command prompt? What he shows looks pretty much like regular UCI to me.
User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: LCZero in Aquarium / Fritz

Post 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.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Jens H.
Posts: 4
Joined: Mon Apr 02, 2018 11:37 am

Re: LCZero in Aquarium / Fritz

Post 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.
main line
Posts: 60
Joined: Thu Jul 07, 2016 10:15 pm

Re: LCZero in Aquarium / Fritz

Post 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 ?