Lizzie - the Leela Zero UI
-
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
I tried to run the .jar file and I got the following exception, what am I doing wrong?
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at wagner.stephanie.lizzie.analysis.Leelaz$$Lambda$1/1149319664.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at wagner.stephanie.lizzie.analysis.Leelaz$$Lambda$1/1149319664.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-
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
Schachus wrote:I tried to run the .jar file and I got the following exception, what am I doing wrong?
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at wagner.stephanie.lizzie.analysis.Leelaz$$Lambda$1/1149319664.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Are you using Lizzie 0.4? This was a frequent problem with 0.3, but a supposed fix went in a while ago, and that stack trace seems to be from an old version of the source.
-
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
and of course, despite its fame, there's no guarantee that it is actually the best move!
-
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
dfan wrote:Schachus wrote:I tried to run the .jar file and I got the following exception, what am I doing wrong?
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at wagner.stephanie.lizzie.analysis.Leelaz$$Lambda$1/1149319664.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Are you using Lizzie 0.4? This was a frequent problem with 0.3, but a supposed fix went in a while ago, and that stack trace seems to be from an old version of the source.
You are right, I had wrongly used a download link for liizie 0.3.
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.
-
sorin
- Lives in gote
- Posts: 389
- Joined: Wed Apr 21, 2010 9:14 pm
- Has thanked: 418 times
- Been thanked: 198 times
Re: Lizzie - the Leela Zero UI
Javaness2 wrote:I think this is probably my favourite LeelaZero utility so far.
Same here! I was very late to try it (I have been using Sabaki so far), but I found Lizzie much better for the kind of analysis I do, in particular I love the continuous updates model and visualizing the variations.
Sorin - 361points.com
-
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
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.
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
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!!
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
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
I can't open file .jar although has loaded new version java (who can help?)
- Attachments
-
- Untitled.png (95.8 KiB) Viewed 17405 times
-
- Untitled.png (95.8 KiB) Viewed 17405 times
- 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
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
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
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 (148.33 KiB) Viewed 17289 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
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.
Re: Lizzie - the Leela Zero UI
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?
- 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
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
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21