Page 2 of 5
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 3:16 am
by Schachus
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)
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 6:12 am
by dfan
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.
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 6:14 am
by dfan
Vargo wrote:The famous move 37 shoulder hit...
It seems that this move is less likely to be played after more playouts (Lizzie 0.4 with 3f6c8)
here
and here
and of course, despite its fame, there's no guarantee that it is actually the best move!
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 11:26 am
by Schachus
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.
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 11:41 am
by sorin
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.
Re: Lizzie - the Leela Zero UI
Posted: Wed Apr 25, 2018 3:41 pm
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.
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).
Re: Lizzie - the Leela Zero UI
Posted: Thu Apr 26, 2018 7:20 am
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!!
Re: Lizzie - the Leela Zero UI
Posted: Fri Apr 27, 2018 2:07 am
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.
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 12:50 am
by pandora
I can't open file .jar although has loaded new version java (who can help?)
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 7:02 am
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-ne
Posted: Thu May 10, 2018 6:57 pm
by pandora
What's next, download and then do anything else?
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 7:08 pm
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?
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 10:15 pm
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.
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 10:45 pm
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?
Re: Lizzie - the Leela Zero UI
Posted: Thu May 10, 2018 11:11 pm
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?