Lizzie - the Leela Zero UI

For discussing go computing, software announcements, etc.
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Lizzie - the Leela Zero UI

Post by Uberdude »

Message from my wife this morning:

sai lizzie.png
sai lizzie.png (5.93 KiB) Viewed 17824 times
Javaness2
Gosei
Posts: 1545
Joined: Tue Jul 19, 2011 10:48 am
GD Posts: 0
Has thanked: 111 times
Been thanked: 322 times
Contact:

Re: Lizzie - the Leela Zero UI

Post by Javaness2 »

Uberdude wrote:Message from my wife this morning:

sai lizzie.png


but do you not feel jealous? :)
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Lizzie - the Leela Zero UI

Post by dfan »

C. Blue wrote:Lizzie hardcodes the "./leelaz" command. I wanted to run an SSH command though to connect remotely to a more powerful machine, using my notebook merely as a terminal. So I made a little patch to allow arbitrary commands in lizzie.properties file

You might consider submitting this as a pull request. I know that featurecat was planning on putting this feature in but I don't know if it's been implemented in the official copy yet. (I just use the "replace leelaz by a shell script" solution.)
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: Lizzie - the Leela Zero UI

Post by daal »

What is the meaning of the numbers in the circles, and the colors of the circles? A link would be fine.
Patience, grasshopper.
Javaness2
Gosei
Posts: 1545
Joined: Tue Jul 19, 2011 10:48 am
GD Posts: 0
Has thanked: 111 times
Been thanked: 322 times
Contact:

Re: Lizzie - the Leela Zero UI

Post by Javaness2 »

This should be in the GitHub wiki
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: Lizzie - the Leela Zero UI

Post by daal »

Javaness2 wrote:This should be in the GitHub wiki


Sorry to be dense, but where is that? I tried clicking on all the github links here in the thread and didn't see a wiki....

What I really want to know, is how to interpret the information that lizzie shows.
Patience, grasshopper.
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Lizzie - the Leela Zero UI

Post by dfan »

daal wrote:What is the meaning of the numbers in the circles, and the colors of the circles? A link would be fine.

The top number is Leela Zero's evaluation of the winning percentage. By default this is from the point of view of the side to play (e.g., if it says 57.2, then the player whose turn it is has a 57.2% chance to win if they play at that point).

The bottom number is the number of "visits", the times Leela Zero has considered the position that would result by playing on that point. It goes up as Leela Zero looks at more variations starting with that move. As you might expect, it will spend most of its time analyzing the most promising moves.

The color is a visualization of the bottom number. The point with the most visits is bright green and surrounded with a red circle; this is the move that Leela Zero would make if you asked it to choose a move right now. As points get less visits, the color becomes more red and more translucent.
splee99
Dies with sente
Posts: 101
Joined: Thu Nov 15, 2012 9:46 pm
Rank: KGS 2 D
GD Posts: 0
Has thanked: 2 times
Been thanked: 16 times

Re: Lizzie - the Leela Zero UI

Post by splee99 »

I just copied the 0.4 version. When I run it from the windows command prompt I got this error message:

java -jar lizzie.jar
Exception in thread "main" java.lang.IllegalStateException: Buffers have not been created
at java.desktop/sun.awt.windows.WComponentPeer.getBackBuffer(Unknown Source)
at java.desktop/java.awt.Component$FlipBufferStrategy.getBackBuffer(Unknown Source)
at java.desktop/java.awt.Component$FlipBufferStrategy.updateInternalBuffers(Unknown Source)
at java.desktop/java.awt.Component$FlipBufferStrategy.createBuffers(Unknown Source)
at java.desktop/java.awt.Component$FlipBufferStrategy.<init>(Unknown Source)
at java.desktop/java.awt.Component$FlipSubRegionBufferStrategy.<init>(Unknown Source)
at java.desktop/java.awt.Component.createBufferStrategy(Unknown Source)
at java.desktop/java.awt.Window.createBufferStrategy(Unknown Source)
at java.desktop/java.awt.Component.createBufferStrategy(Unknown Source)
at java.desktop/java.awt.Window.createBufferStrategy(Unknown Source)
at wagner.stephanie.lizzie.gui.LizzieFrame.<init>(LizzieFrame.java:111)
at wagner.stephanie.lizzie.Lizzie.main(Lizzie.java:43)
Calvin Clark
Lives in gote
Posts: 426
Joined: Thu Aug 13, 2015 8:43 am
GD Posts: 0
Has thanked: 186 times
Been thanked: 191 times

Re: Lizzie - the Leela Zero UI

Post by Calvin Clark »

splee99 wrote:I just copied the 0.4 version. When I run it from the windows command prompt I got this error message:


Java version?
splee99
Dies with sente
Posts: 101
Joined: Thu Nov 15, 2012 9:46 pm
Rank: KGS 2 D
GD Posts: 0
Has thanked: 2 times
Been thanked: 16 times

Re: Lizzie - the Leela Zero UI

Post by splee99 »

Java version 10.0.1 amd64
Calvin Clark
Lives in gote
Posts: 426
Joined: Thu Aug 13, 2015 8:43 am
GD Posts: 0
Has thanked: 186 times
Been thanked: 191 times

Re: Lizzie - the Leela Zero UI

Post by Calvin Clark »

splee99 wrote:Java version 10.0.1 amd64


I have only used Java 8 for this in the past, but I just tried Java 10 and it gets a bit further if you do this:

java -Dsun.java2d.d3d=false -jar Lizzie.jar

But there are still some other errors logged to the console, so I am not certain it will work properly. It is likely the author never tested it with Java 10.
splee99
Dies with sente
Posts: 101
Joined: Thu Nov 15, 2012 9:46 pm
Rank: KGS 2 D
GD Posts: 0
Has thanked: 2 times
Been thanked: 16 times

Re: Lizzie - the Leela Zero UI

Post by splee99 »

Interesting. It seems to be working now with that special command.
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Lizzie - the Leela Zero UI

Post by Uberdude »

Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: Lizzie - the Leela Zero UI

Post by Gomoto »

And 0.5 is also friendly to Elf.
Attachments
800px-Elf_by_William_Goscombe_John,_Kibble_Palace.jpg
800px-Elf_by_William_Goscombe_John,_Kibble_Palace.jpg (178.15 KiB) Viewed 17423 times
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Lizzie - the Leela Zero UI

Post by Uberdude »

Great point Gomoto, I'm looking forward to finally receiving some Elvish wisdom!
Post Reply