Lizzie - the Leela Zero UI

For discussing go computing, software announcements, etc.
dfan
Gosei
Posts: 1602
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 537 times
Contact:

Re: Lizzie - the Leela Zero UI

Post by dfan »

Schachus wrote:Now I tried with lizzie 0.4, but I also got an exception (now, on my first try I didnt get one, but nothing happened):

java.io.IOException: Problem reading font data.
at java.awt.Font.createFont0(Unknown Source)
at java.awt.Font.createFont(Unknown Source)
at wagner.stephanie.lizzie.gui.LizzieFrame.<clinit>(LizzieFrame.java:87)
at wagner.stephanie.lizzie.Lizzie.main(Lizzie.java:43)

I suspect I might need to update my JRE, but no clue if that has something to do with it.
This has come up a fair bit in the wild. According to featurecat this is actually associated with not having a correct network file. :scratch:

So first make sure you have a network weights file called "network" (not, for example, "network.txt") in the directory you are running from, and that it has been uncompressed if you downloaded a compressed version (it should be around 155 megabytes) [edit: typo - should be 115 million bytes = 110 megabytes].

Other common startup problems include not having the right name for the Leela Zero executable (if you're on windows, it should be leelaz.exe, not leelaz).
Last edited by dfan on Thu Apr 26, 2018 9:20 am, edited 2 times in total.
Schachus
Lives with ko
Posts: 211
Joined: Wed Jul 01, 2015 11:02 am
Rank: KGS 1k EGF 2k
GD Posts: 0
KGS: Schachus12
Has thanked: 16 times
Been thanked: 62 times

Re: Lizzie - the Leela Zero UI

Post by Schachus »

You were right, I didnt have the network file in the right place, but now I do and it should also be decompressed afaik( its only 110 MB though, but it was 31 before decompressing, so something happened..). I still got the same error message though.
Now I tried it again and this time I didnt get any exception just "Leelaz process ended." without an exception and without anything happening.

Thanks for helping me!

Edit: I checked what you wrote again, and it sais it should NOT be called network.txt, so I did that wrong... How do I get windows to forget it thought it was a .txt?

Edit2: that was easy via cmd, and now it actually works! Thanks a lot for your help!!
thirdfogie
Lives with ko
Posts: 131
Joined: Tue May 15, 2012 10:08 am
Rank: British 3 kyu
GD Posts: 0
KGS: thirdfogie
Has thanked: 151 times
Been thanked: 30 times

Re: Lizzie - the Leela Zero UI

Post by thirdfogie »

Uberdude wrote:
jeromie wrote:That's fantastic! Sadly, my GPU isn't really good enough for these new bots. I'm tempted to buy a nice graphics card just for playing with this, but the cryptocurrency craze has kept prices ridiculously high.
Maybe time to upgrade my Pentium 4 desktop! On my work laptop with latest 15 block network I get about 10 playouts a second, a long way off mr baduk1. But even with such few playouts it's still pretty strong, so long as ladders aren't involved. e.g. I couldn't really reproduce this ladder-dependence goodness of the small avalanche from AG, though latest 15 block was better than an older 10 block, and when analysing my taisha from last PGETC game LZ wanted to keep going down a ladder disaster road for a while.
I have a three-year old Intel desktop with four CPUs and no GPU. Leela with the 115883856-byte network works well AFAICT. Less need now to post in Game Analysis. All my games are played over the board, so the loss of sociability will not matter much.

You (Uberdude) are much stronger than me, so your standards may be higher.
pandora
Beginner
Posts: 11
Joined: Sat Jun 24, 2017 10:11 pm
Rank: 1 kyu
GD Posts: 10
KGS: 1 dan
Tygem: 4 dan
IGS: 3 dan
Wbaduk: 1 kyu
DGS: 4 dan
OGS: 2 dan

Re: Lizzie - the Leela Zero UI

Post by pandora »

I can't open file .jar although has loaded new version java (who can help?)
Attachments
Untitled.png
Untitled.png (95.8 KiB) Viewed 17481 times
Untitled.png
Untitled.png (95.8 KiB) Viewed 17481 times
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: Lizzie - the Leela Zero UI

Post by Waylon »

pandora wrote:I can't open file .jar although has loaded new version java (who can help?)
From the readme.txt file:
Download the best network from http://zero.sjeng.org/best-network, save it in the lizzie directory as "network"
pandora
Beginner
Posts: 11
Joined: Sat Jun 24, 2017 10:11 pm
Rank: 1 kyu
GD Posts: 10
KGS: 1 dan
Tygem: 4 dan
IGS: 3 dan
Wbaduk: 1 kyu
DGS: 4 dan
OGS: 2 dan

Download the best network from http://zero.sjeng.org/best-ne

Post by pandora »

What's next, download and then do anything else?
pandora
Beginner
Posts: 11
Joined: Sat Jun 24, 2017 10:11 pm
Rank: 1 kyu
GD Posts: 10
KGS: 1 dan
Tygem: 4 dan
IGS: 3 dan
Wbaduk: 1 kyu
DGS: 4 dan
OGS: 2 dan

Re: Lizzie - the Leela Zero UI

Post by pandora »

I open file .jar continuity,but it don't work.Does it need to be associated with sabaki?Is it necessary to run this .jar file?
Attachments
Untitled1.png
Untitled1.png (148.33 KiB) Viewed 17365 times
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 »

pandora wrote:I open file .jar continuity,but it don't work.Does it need to be associated with sabaki?Is it necessary to run this .jar file?
It looks like you have a folder named "network" and Lizzie expects this to be just the file. After uncompressing the .gz that you downloaded, rename it so that the file itself is just "network" at the top level of the Lizzie folder. So probably inside that "network" folder is the file that you want.
lucibel
Beginner
Posts: 5
Joined: Mon Sep 26, 2016 2:25 pm
Rank: KGS 2d
GD Posts: 0
KGS: lucibel

Re: Lizzie - the Leela Zero UI

Post by lucibel »

I can't get Lizzie work either. I downloaded the file and did like readme.txt guided. All I get is .jar opening the board and after about one second it disappering. I have Windows 7, is that a problem?
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: Lizzie - the Leela Zero UI

Post by ez4u »

lucibel wrote:I can't get Lizzie work either. I downloaded the file and did like readme.txt guided. All I get is .jar opening the board and after about one second it disappering. I have Windows 7, is that a problem?
I use windows 7 with no problems. If you download LeelaZero itself and run autogtp.exe, does it work with no issues?
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
pandora
Beginner
Posts: 11
Joined: Sat Jun 24, 2017 10:11 pm
Rank: 1 kyu
GD Posts: 10
KGS: 1 dan
Tygem: 4 dan
IGS: 3 dan
Wbaduk: 1 kyu
DGS: 4 dan
OGS: 2 dan

Re: Lizzie - the Leela Zero UI

Post by pandora »

Same problem lucibel's,I open file .jar then disappear i use win10 64bit
headless
Beginner
Posts: 16
Joined: Wed Apr 25, 2012 6:22 am
Rank: KGS 1 kyu
GD Posts: 0
KGS: headless
Has thanked: 1 time
Been thanked: 5 times

Re: Lizzie - the Leela Zero UI

Post by headless »

pandora wrote:I open file .jar continuity,but it don't work.Does it need to be associated with sabaki?Is it necessary to run this .jar file?
First, delete the folder "network".
Next, rename the file "leelaz-model-swa-24-192000.txt" to "network", not "network.txt".
lichigo
Lives with ko
Posts: 199
Joined: Fri Mar 15, 2013 2:47 pm
GD Posts: 0
Has thanked: 4 times
Been thanked: 16 times

Re: Lizzie - the Leela Zero UI

Post by lichigo »

I downloaded the lastest version, I can launch the Jar file. I can open the interface ( there is the board and the picture behind) and it says Leela zero is loading. Is it normal or shoud I download something else.
Sorry if someone already asked the same thing and thank you for your help ^^
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: Lizzie - the Leela Zero UI

Post by Sneegurd »

lucibel wrote:I can't get Lizzie work either. I downloaded the file and did like readme.txt guided. All I get is .jar opening the board and after about one second it disappering. I have Windows 7, is that a problem?
No, Win7 is not a problem. You guys probably need sort it out yourself.
a) You need a proper installation of JRE, proper registering of .jar file type.
b) if you downloaded gzipped weight file, you of course need to unpack it
c) Have a look into lizzie.properties, it references the weights file. ("weights": "filename",)
pandora
Beginner
Posts: 11
Joined: Sat Jun 24, 2017 10:11 pm
Rank: 1 kyu
GD Posts: 10
KGS: 1 dan
Tygem: 4 dan
IGS: 3 dan
Wbaduk: 1 kyu
DGS: 4 dan
OGS: 2 dan

Re: Lizzie - the Leela Zero UI

Post by pandora »

I just update JRE and what is this?
Attachments
q.png
q.png (109.4 KiB) Viewed 17050 times
Post Reply