LCZero in Aquarium / Fritz

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 8:48 am

Re: LCZero in Aquarium / Fritz

Post by velmarin » Fri Apr 13, 2018 6:52 pm

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 9:37 am

Re: LCZero in Aquarium / Fritz

Post by Jens H. » Sat Apr 14, 2018 9:41 am

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 8:15 pm

Re: LCZero in Aquarium / Fritz

Post by main line » Sat Apr 14, 2018 11:22 am

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 9:37 am

Re: LCZero in Aquarium / Fritz

Post by Jens H. » Sat Apr 14, 2018 11:28 am

You can even leave out the "-w 5ba....." parameter when you name your networks file weights.txt

User avatar
hgm
Posts: 23790
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: LCZero in Aquarium / Fritz

Post by hgm » Sat Apr 14, 2018 2:13 pm

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: 5193
Joined: Mon Mar 13, 2006 1:34 pm
Location: Acworth, GA
Contact:

Re: LCZero in Aquarium / Fritz

Post by AdminX » Sat Apr 14, 2018 2:14 pm

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: 23790
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: LCZero in Aquarium / Fritz

Post by hgm » Sat Apr 14, 2018 2:30 pm

So how could it work from the command prompt? What he shows looks pretty much like regular UCI to me.

User avatar
AdminX
Posts: 5193
Joined: Mon Mar 13, 2006 1:34 pm
Location: Acworth, GA
Contact:

Re: LCZero in Aquarium / Fritz

Post by AdminX » Sat Apr 14, 2018 2:38 pm

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 9:37 am

Re: LCZero in Aquarium / Fritz

Post by Jens H. » Sat Apr 14, 2018 6:42 pm

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 8:15 pm

Re: LCZero in Aquarium / Fritz

Post by main line » Sun Apr 15, 2018 7:54 pm

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 ?

Post Reply