Lizzie - the Leela Zero UI
-
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
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
First, delete the folder "network".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?
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
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 ^^
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
No, Win7 is not a problem. You guys probably need sort it out yourself.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?
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
I just update JRE and what is this?
- Attachments
-
- q.png (109.4 KiB) Viewed 16963 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
I think it's called Java sucking. Delete and replace the file?
I tend to find that after install I have to start Lizzie 3 times before it works properly. Kind of strange as far as bugs go.
I tend to find that after install I have to start Lizzie 3 times before it works properly. Kind of strange as far as bugs go.
- 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
My Lizzie.jar is 380kB so yours certainly looks suspect.
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
-
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
You probably tried to open the .jar file with a wrong application and broke it at May 10. You can download and extract the file "lizzie-windows-64-cpu.zip" again to get a new one.pandora wrote:I just update JRE and what is this?
-
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
Anyone know how to run LZ on sabaki?What's this mistake?
- Attachments
-
- 11.png (314.79 KiB) Viewed 16909 times
-
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
Liziie.jar play fast,Is there any way for her to run slow like 10-15 seconds?
-
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
You can use a text editor to edit the file "lizzie.properties". There's "max-game-thinking-time-seconds" for you.pandora wrote:Liziie.jar play fast,Is there any way for her to run slow like 10-15 seconds?
-
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
It says "Welcome to the world of computer program calls and arguments. Welcome to the real world, it's not all apples!"pandora wrote:Anyone know how to run LZ on sabaki?What's this mistake?
Learn from my Sabaki setting. "bestnet" is my weights file. It resides in the same folder as leelaz.exe.

- 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
It seems that you have not unzipped your weights file. The download is *.gz and you have to extract it before LZ can use it.pandora wrote:Anyone know how to run LZ on sabaki?What's this mistake?
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
-
C. Blue
- Dies in gote
- Posts: 69
- Joined: Thu Oct 07, 2010 4:45 am
- Rank: EGF 1d
- GD Posts: 0
- KGS: CBlue
- Has thanked: 29 times
- Been thanked: 29 times
Re: Lizzie - the Leela Zero UI
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:
lizzie-master\src\main\java\wagner\stephanie\lizzie\analysis\Leelaz.java:
Replace
by
Then add a "command" key to lizzie.properties under "leelaz" so it looks like this for example:
Again, if "command" is non-empty, all the other parameters will be skipped. If it is empty, like this:
then all the other keys are used instead, just as before.
I used Maven to build lizzie, as recommended on https://github.com/featurecat/lizzie .
Alternatively, instead of patching the lizzie code you could of course also just create a custom replacement [script] for leelaz, as described by 'dwt' here for example: https://github.com/featurecat/lizzie/issues/92
PS: In case you were wondering why my ssh command doesn't contain an actual leelaz-call, that's just because I predefined leelaz (plus its parameters) in the server's authorized_keys file as the default command to run for any ssh connection (along with the usual other safety measures
).
lizzie-master\src\main\java\wagner\stephanie\lizzie\analysis\Leelaz.java:
Replace
Code: Select all
commands.add("./leelaz"); // windows, linux, mac all understand this
commands.add("-g");
commands.add("-t");
commands.add(""+config.getInt("threads"));
commands.add("-w");
commands.add(config.getString("weights"));
commands.add("-b");
commands.add("0");
Code: Select all
// C. Blue - Replacing hardcoded leelaz binary with arbitrary command (to enable easy remote connection via SSH)
// Additional unrelated notes:
// max-analyze-time-minutes is a timeout after which pondering is automatically turned off (presumably to freeze the % numbers)
// max-game-thinking-time-seconds has no effect.
// The default code (see further below) added "-b 0" aka 0s lag buffer.
if (!config.getString("command").isEmpty()) {
String[] comms = config.getString("command").split(" ");
for (int i = 0; i < comms.length; i++)
commands.add(comms[i]);
} else {
commands.add("./leelaz"); // windows, linux, mac all understand this
commands.add("-g");
commands.add("-t");
commands.add(""+config.getInt("threads"));
commands.add("-w");
commands.add(config.getString("weights"));
commands.add("-b");
commands.add("0"); //(C. Blue: hardcoded lagbuffer? hm)
}
Code: Select all
{
"leelaz": {
"command": "C:\\Progra~1\\OpenSSH\\bin\\ssh.exe -p someport 'somename'@somehost",
Code: Select all
"command": "",
I used Maven to build lizzie, as recommended on https://github.com/featurecat/lizzie .
Alternatively, instead of patching the lizzie code you could of course also just create a custom replacement [script] for leelaz, as described by 'dwt' here for example: https://github.com/featurecat/lizzie/issues/92
PS: In case you were wondering why my ssh command doesn't contain an actual leelaz-call, that's just because I predefined leelaz (plus its parameters) in the server's authorized_keys file as the default command to run for any ssh connection (along with the usual other safety measures