Einzelnen Beitrag anzeigen
  #1  
Alt 01.05.2018, 12:55
StPohl StPohl ist offline
TASC R30
 
Registriert seit: 30.03.2018
Land:
Beiträge: 424
Abgegebene Danke: 71
Erhielt 550 Danke für 247 Beiträge
Aktivitäten Langlebigkeit
2/20 7/20
Heute Beiträge
0/3 ssssss424
AW: Selbstlernende KI: Neue Engine spielt auf Profi-Niveau

Übrigens habe ich (und ich hatte auch noch einige Nachfrage diesbzgl. über meine Website) es nicht geschafft, Leela mit einem der neuen, komplexeren Networks in Fritz 16 in der GPU-Version zum Laufen zu bringen. Falls noch jemand das Problem hat, man kann den inBetween-Adapter zwischenschalten. Eine Lösung, die für lczero v0.6 noch zwingend war. Das funktioniert in Fritz 16 aber auch klaglos mit v0.7 - und es werden dennoch korrekte Bewertungen, Hauptvarianten, Suchtiefen angezeigt. Ich habe mein step-by-step-manual auf meiner Website dahingehend überarbeitet. Ich kopiere es nochmal hier rein:

Since v0.7 no adapter is needed (inBetween, polyglot) for running leela in FritzGUI or ShredderGUI
Just do this:

1) Create a Leela-folder somewhere on your PC in a folder, which is not write protected (normally C:\ProgramFiles\ChessBase\Engines is writeprotected!) - I created it in my documents-folder.
2) download the Windows GPU Leela files here: https://github.com/glinscott/leela-chess/releases
3) Unzip all files in your leela-folder
4) Download the Network-file here (but NOT the first on top of the list (the newest)): http://162.217.248.187/networks
5) unpack the network-file, you get a folder. In it a file. Rename it to weights.txt
6) Copy the weights.txt file in your leela-folder
7) start the lczero.exe -file one time with mouse-double-click. That creates a file called "leelaz_opencl_tuning", which is needed! (If you want to run Leela faster, create a small .bat file with one line in it "lczero.exe -w weights.txt --full-tuner" and start that .bat file with double-click.
Then you have to wait around 20-30 minutes, while Leela tries around 5000 GPU-configurations in order to find the fastest.)
8) Start FritzGUI or ShredderGUI and create UCI-engine with lczero.exe. It is recommended, to set the number of Threads to the number of CPUs of your system, that makes Leela a little bit faster, although she uses the GPU for main calculations. (Thread is 2 by default)

If 8) does not work (in Fritz 16 some people reported problems), use the inBetween-adapter solution:

Download inBetween (I used V1.3) here:
https://www.chess.com/blog/AldoE/the...d-gunnar-malin (scroll down)
Extract the files ‘InBetween.exe’ and ‘InBetween.ini’ to your Leela-folder.
Edit ‘InBetween.ini’ and provide the following option in the [InBetween] section:

CommandLine := lczero.exe -w weights.txt --uci --noponder

don’t forget to remove the ";" at the beginning of the Commandline to activate the command !!!!!

Then use the file inBetween.exe as engine-file in the FritzGUI engine-creation process, NOT lczero.exe
Mit Zitat antworten