How do I play against Leela Zero on Sabaki?

For discussing go computing, software announcements, etc.
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: How do I play against Leela Zero on Sabaki?

Post by Pippen »

Will there be a downloadable version of LZ once it's enough trained, just like Leela 11?
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: How do I play against Leela Zero on Sabaki?

Post by hyperpape »

Supposedly the most recent version of Lizzie will auto-download a network, but I'm afraid it didn't work for me.
bohemian65
Beginner
Posts: 6
Joined: Wed Oct 17, 2018 3:11 pm
GD Posts: 0

Re: How do I play against Leela Zero on Sabaki?

Post by bohemian65 »

Waylon wrote:
bohemian65 wrote: What am I doing wrong here?
Try using two minus signs like this:
--threads
I have tried it with -gtp and -g and as for the threads I have tried that and have taken it out completely and nothing seems to make any difference. It will just never move.

Thanks
User avatar
Waylon
Dies in gote
Posts: 24
Joined: Sat May 14, 2016 1:30 am
GD Posts: 0
Location: Vienna, Austria
Has thanked: 686 times
Been thanked: 11 times

Re: How do I play against Leela Zero on Sabaki?

Post by Waylon »

From the engines menu you can select the command "Toggle GTP Console". Maybe you can see there a useful hint what's going wrong. E.g. you would see if the program couldn't open the file with the weights.
bohemian65
Beginner
Posts: 6
Joined: Wed Oct 17, 2018 3:11 pm
GD Posts: 0

Re: How do I play against Leela Zero on Sabaki?

Post by bohemian65 »

Waylon wrote:From the engines menu you can select the command "Toggle GTP Console". Maybe you can see there a useful hint what's going wrong. E.g. you would see if the program couldn't open the file with the weights.
Here is an image capture of it, it loads the info on the left but after black moves Leela never moves.
Attachments
Leelatrial.jpg
Leelatrial.jpg (399.88 KiB) Viewed 21663 times
User avatar
tchan001
Gosei
Posts: 1582
Joined: Wed Apr 21, 2010 6:44 pm
GD Posts: 1292
Location: Hong Kong
Has thanked: 54 times
Been thanked: 534 times
Contact:

Re: How do I play against Leela Zero on Sabaki?

Post by tchan001 »

Maybe try putting your weight file path in quotes.
-w "C:\Users\Owen\Desktop\GO\LeelaZero\weights.txt"
http://tchan001.wordpress.com
A blog on Asian go books, go sightings, and interesting tidbits
Go is such a beautiful game.
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: How do I play against Leela Zero on Sabaki?

Post by Vargo »

Have you tried the most basic ?
lz.jpg
lz.jpg (6.03 KiB) Viewed 5470 times
with nothing else (19x19, no handicap, no initial commands, etc)
bohemian65
Beginner
Posts: 6
Joined: Wed Oct 17, 2018 3:11 pm
GD Posts: 0

Re: How do I play against Leela Zero on Sabaki?

Post by bohemian65 »

Vargo wrote:Have you tried the most basic ?
The attachment lz.jpg is no longer available
with nothing else (19x19, no handicap, no initial commands, etc)
Trying your method it still does not ever move and produces (see image).
Attachments
attempt2.JPG
attempt2.JPG (129.56 KiB) Viewed 5440 times
bohemian65
Beginner
Posts: 6
Joined: Wed Oct 17, 2018 3:11 pm
GD Posts: 0

Re: How do I play against Leela Zero on Sabaki?

Post by bohemian65 »

tchan001 wrote:Maybe try putting your weight file path in quotes.
-w "C:\Users\Owen\Desktop\GO\LeelaZero\weights.txt"
Does nothing.
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: How do I play against Leela Zero on Sabaki?

Post by Sneegurd »

Mine works. Latest weights file is the unpacked .gz and renamed to "bestnet". bestnet in the same folder as leelaz.exe.

--gtp --threads 6 --noponder -w bestnet
time_settings 0 6 1
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: How do I play against Leela Zero on Sabaki?

Post by Vargo »

The folders you use must be named WITHOUT spaces

e.g. a folder named "leela-zero-0.15-win64" is OK
but one named "leela-zero-0.15 win64" is not

(all the folders in the paths to leelaz.exe and to your weights must be without spaces)
bohemian65
Beginner
Posts: 6
Joined: Wed Oct 17, 2018 3:11 pm
GD Posts: 0

Re: How do I play against Leela Zero on Sabaki?

Post by bohemian65 »

Sneegurd wrote:Mine works. Latest weights file is the unpacked .gz and renamed to "bestnet". bestnet in the same folder as leelaz.exe.

--gtp --threads 6 --noponder -w bestnet
time_settings 0 6 1
I did exactly as you recommend and it could not find bestnet. I then added the .txt to the end toit - bestnet.txt it then located it because it did not give any warning that it could not find it and went through the rest of its business with the last thing saying it is "Thinking at most 5.0 seconds". However, it just still hangs and never makes a move. I even ran a batch file to optimize the gflops that is stored in the leelaz_opencl_tuning file before any of this.

So I am wondering if it is a problem with Sabaki itself, because clearly it is finding and accessing the engine leelaz.exe and it is finding the weights file, and modifies the the threads used and acknowledges the time settings, but it never actually makes a move.

As another poster commented about spaces, I have no spaces in the folder names.
Attachments
Leelaz.jpg
Leelaz.jpg (70.41 KiB) Viewed 5378 times
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: How do I play against Leela Zero on Sabaki?

Post by And »

when using cpuonly works?
Post Reply