featurecat / lizzie Goto Github PK
View Code? Open in Web Editor NEWLizzie - Leela Zero Interface
License: GNU General Public License v3.0
Lizzie - Leela Zero Interface
License: GNU General Public License v3.0
AFAIK, unmodified leelaz did not work with lizzie. It does not show anything on screen.
I want to be able spend some times learning MCTS / other tree search algorithm by modifying Leela Zero code.
I then want to use Lizzie to test modification so I can see impact of my changes (eg same network but Thomson filter instead of raw MCTS, or different pruning parameter.
Can you share a diff of your modified leelaz and upstream one ?
Can you add build steps ?
I have tried mvn install
but that seems to make an empty / unexecutable jar file.
Is Leela stronger when you just run analyze or when you press enter and face leela zero itself with certain thread and time settings?... because I changed the thread default from 2 to 8 and I am not sure if I see much of a difference when i let it analyze a move/s (without leela itself playing but me clicking moves to continue on to the next move to analyze ).... but I am wondering if it effect leela when leela itself is playing me instead of just analyzing moves without playing by itself.
When I try to load an SGF that I recorded with SmartGo Kifu, nothing happens (although the program does not hang). Loading games from KGS works fine. My first guess is that Lizzie is not able to load games that don't have an end and a result, but I'm sure there are plenty of other differences between SGFs from the two sources that could possibly account for it.
While Go unfortunately does not have a totally standard coordinate system like chess does, it is conventional for the rows to be numbered 1-19 from the bottom to the top rather than from the top to the bottom. KGS, OGS, Crazy Stone, Leela all do it that way, for example.
When will the release be done?
How can I get this to work with the very strong (3500+ ELO) 256*20 network trained with Leela Zero that was published by someone a while back?
There is Windows 10 of 32-Bit operating system installed on my computer, so the current version can't work, could you release another version? Besides, could you add the funtion to control the time of analysis?
Add more key controls, e.g. P for pausing analysis, R for resuming analysis.
The default window size is 800 x 600, I recommend something like 800 x 770, since the tittle bar on win 10 is 30px height.
Make lz stop thinking after searching certain amount of visits or playouts, e.g. 2,000,000 visit. Just to make sure if anyone forget to quit the app, it won't keep running forever.
I guess All my suggestions here can be achieved in a few minutes. I really hope you can consider these.
Retina screen (resolution 3840X2160), Lizzie 0.3 program display blur. (Installed Java version 10)
this gui is great,I hope it has "undo".
In the game,if my mouse point error,I need come back again.
this is a really important function.
Thanks.
So now that LeelaZero has hundreds of network and plenty of unofficial networks, people want to test one network against the other. Back in the Chess days Shredder UI even had a tourament mode where it pit engines against each other and spit out a final score etc..
Can you bring this to Lizzie so we can scedule matches and then go to sleep and wake up and get results of hundreds of games?!
Even Sabaki no has this feature.
Lizzie 0.3 is great. I am super impressed. But my absolute top No. 1 use case is the analysis of games loaded from SGF files and I think that a few very minor improvements could make Lizzie 10 times better for that purpose.
When you are looking at a node which there ARE existing children in the SGF file, you currently have to press next and then back so that you know what the original players played or considered because Lizzie only draws Leela's ideas. This is sub-optimal but sometimes sufficient but, if the next move(s) are not part of Leela's top suggestions, you get no information about it/them. So...
Finally, there's little reason to analyze a game that's over so, by default, loaded SGF files should start at move 1, not at the end.
On a side note, the readme/docs could use some explanation of the numbers and colouring scheme for Leela's moves.
Carry on. This is looking grand.
Possible to add teh feature for loading sgf file? It will save tons of time!!
I seem the version is 1.3 in pom.xml, but in real is 0.3
Windows7 64 cpu version.
When I double click on jar file nothing happens. When running through console I get:
time_left b 0 0
Leelaz process ended.
and nothing happens afterwards
It's simply more convinient than using left/right key on keyboard.
With a little longer time(ex:30sec) to read
It takes time until the next ponder
please confirm
Hi,
after installing the 0.3 release, copying leelaz and the tuning file into the folder, then starting java -jar Lizzie.jar the board shows. Things like showing move numbering or generating a new move by Leelaz work. But how do I show the heat map or any evaluation by Leelaz?
(on Linux, using lizzie0.3 release zip)
Is it possible to add a new feature to load LZ's debug log? The winrate, visit counts and variations are all listed in the debug log. So we could just read that and display it in lizzie.
It will help us analyze games more easier after a game with LZ. The opposite could send out the debug log and we could analyze it without running LZ again. And lizzie could also enable LZ's debug log. So that we could review the game multiple times without running it again.
That lizzie, after a long time running, finally, the machine can not run, and even crash, collapse
Some people say this is memory overflow!
leelazero has the same problem if run it without noponder.
so ,could you add noponder mennu command?
Added the ability to view different variations suggested by Leela Zero
How can I disable this?
I think the UI of Wgo.js is quite simple yet useful enough, so it would be great if lizzie can have an interface like that. The picture above is a sample image of what it may look like.
I like in v03 you have the variations while hovering over! Could you optionally add the following; let use map a key (say CTRL) whereby if we hold it down and then mouse over then it gives the variations, but for any legal move that has branching variations it will show the most highest winrate first, but WHILE holding down the variation key (ie CTRL) and hovered over a legal move, if there are many different variations, the user can use the scroll of the mousewheel to instatly switch between variations so it shows all the different variations per that one move and it cycles graphically through them all, all the while numbering each variations!
While moused over holding down the ALT key (or let us map it) will show the NEXT move by LZ AI as if the human player already made his move at that location of holding down the ALT key and hovering over the location... this saves time when playing "what if" and so no more need to constantly "go back" or "undo" etc...
a way to dynamically adjust playout # on the fly... right now once I start a game in sabaki I can't change the playout until the next game.
a way to side load multiple different nets and change/switch between them dynamically in game. or even during a game!
Handicap stones not showing when opening sgf with handicap settings eg: HA[7].
Windows 10, 64 bit. Have the latest nvidia drivers installed.
When trying to launch lizzie, nothing happens. The prompt says Leelaz process ended
When trying to launch leelaz.exe directly, the error pops up: The code execution cannot proceed because OpenCL.dll was not found. Reinstalling the program may fix this problem.
Hi all,
I'm glad so many of you are enjoying Lizzie. She has big dreams for the future! I'm sorry there have been some bugs / issues, but so happy to see contributions coming in (special thanks to @dfannius and @cngoodboy - I appreciate it).
I am quite busy during the week, so my development often happens during the weekend. Sorry that I can't address every issue immediately - I try to do that during the weekends. I would appreciate any help I can get! I'm anxious to incorporate all the proposed PR changes as soon as possible and fix several of the issues, based on your feedback. You can expect a release some time this weekend.
One of my main reasons for creating Lizzie was that I wanted an interface that automatically pairs you against an AI of equivalent level. This means that Play mode will be enhanced. You can expect:
I hope you continue to enjoy learning and playing with Lizzie :)
Currently lizzie calls leelaz.exe with "-t 2" command, is it possible to add a config file to customize this?
Could you add a button (or a key) to pass a move?
Hi, I have windows 7, and Java 8 Update 161. When I type C:\Users\Tom\Lizzie\lizzie>java -jar lizzie.jar
, I get the following response:
time_left b 0 0
Using 2 thread(s).
RNG seed: 16978191442050247177
Using per-move time margin of 0.00s.
Detecting residual layers...v1...128 channels...10 blocks.
BLAS Core: Haswell
=
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at java.lang.Thread.run(Unknown Source)
But when I type C:\Users\Tom\Lizzie\lizzie>Leelaz.exe -w network
, I get
Using 8 thread(s).
RNG seed: 7445661829116835432
Leela Zero 0.13 Copyright (C) 2017-2018 Gian-Carlo Pascutto and contributors
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the COPYING file for details.
Detecting residual layers...v1...128 channels...10 blocks.
BLAS Core: Haswell
Passes: 0 Black (X) Prisoners: 0
Black (X) to move White (O) Prisoners: 0
a b c d e f g h j k l m n o p q r s t
19 . . . . . . . . . . . . . . . . . . . 19
18 . . . . . . . . . . . . . . . . . . . 18
17 . . . . . . . . . . . . . . . . . . . 17
16 . . . + . . . . . + . . . . . + . . . 16
15 . . . . . . . . . . . . . . . . . . . 15
14 . . . . . . . . . . . . . . . . . . . 14
13 . . . . . . . . . . . . . . . . . . . 13
12 . . . . . . . . . . . . . . . . . . . 12
11 . . . . . . . . . . . . . . . . . . . 11
10 . . . + . . . . . + . . . . . + . . . 10
9 . . . . . . . . . . . . . . . . . . . 9
8 . . . . . . . . . . . . . . . . . . . 8
7 . . . . . . . . . . . . . . . . . . . 7
6 . . . . . . . . . . . . . . . . . . . 6
5 . . . . . . . . . . . . . . . . . . . 5
4 . . . + . . . . . + . . . . . + . . . 4
3 . . . . . . . . . . . . . . . . . . . 3
2 . . . . . . . . . . . . . . . . . . . 2
1 . . . . . . . . . . . . . . . . . . . 1
a b c d e f g h j k l m n o p q r s t
Hash: 9A930BE1616C538E Ko-Hash: A14C933E7669946D
Black time: 01:00:00
White time: 01:00:00
Leela:
Can anyone help? Thanks.
I ran lizzie on my Archlinux, but it responsed
./leelaz: error while loading shared libraries: libboost_program_options.so.1.58.0: cannot open shared object file: No such file or directory
Leelaz process ended.
However, unlike the situation on ubuntu, there is no package libboost_program_options on Archlinux.
I tried to replace your leelaz file with that generated on my Archlinux, then lizzie was successfully launched but with some bugs:
the game trees and winning rates did not appear correctly near the board but in my terminal instead...
There's something I want to ask you
Add the score in the next version
key is "E"
please
I like the look and style of this better
https://github.com/waltheri/wgo.js
Can it be made an optional theme?
A simple request to add the board co-ordinates outside the 19x19 grid.
Hi!
I've had a look at the screenshots and am very keen to try out the GUI.
But, when trying to start Lizzie 0.3, I only get the following output:
time_left b 0 0
Using 2 thread(s).
RNG seed: 13477237188667865876
Using per-move time margin of 0.00s.
Detecting residual layers...v1...128 channels...10 blocks.
BLAS Core: Haswell
=
java.lang.NullPointerException
at wagner.stephanie.lizzie.analysis.Leelaz.parseLine(Leelaz.java:122)
at wagner.stephanie.lizzie.analysis.Leelaz.read(Leelaz.java:155)
at java.base/java.lang.Thread.run(Unknown Source)
This is on Ubuntu 16.04, no GPU running (I've disable OPENCL via compile flag in leelaz). I've tried with different Java versions (OpenJdk 8, 9, Oracle JRE 10), always resulting in the same NullPointerException. Customized Leelaz in textmode runs fine.
When using a 76M weight file, it often takes more than 100 rounds. Suddenly, it reminds Leelaz to stop and crash. This does not happen when using a 35M size weight file. The use of 76M weight files under sabaki software will not be the case. Is it related to lelaz.exe that comes with lizzie? How to solve this problem?
Launching the cpu only version of lizzie.jar returns this error
$ java -jar lizzie.jar
./leelaz: error while loading shared libraries: libboost_program_options.so.1.58.0: cannot open shared object file: No such file or directory
Leelaz process ended.
java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
at java.io.OutputStream.write(OutputStream.java:116)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141)
at wagner.stephanie.lizzie.analysis.Leelaz.sendCommand(Leelaz.java:137)
at wagner.stephanie.lizzie.analysis.Leelaz.ponder(Leelaz.java:179)
The java version in my computer:
$ java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
I am not a Java programmer, but I am enough of a general programmer that if I were able to build the source I might be able to fix or at least diagnose bugs that I run into. From the existence of pom.xml
I assume that I am supposed to use Maven, but just running mvn package
doesn't seem to know to what sources to compile, and generates an (almost) empty target/lizzie-1.3.jar
. Clearly I'm missing something simple, but I don't know enough to know what it is. Some minimal build instructions would be very useful to people like me.
Hello.
I'm using CPU-only leelaz, and have my tuning file set as:
0;XgemmBatched;128;100;128;16; -DKWG=32 -DKWI=2 -DMDIMA=32 -DMDIMC=32 -DMWG=32 -DNDIMB=8 -DNDIMC=8 -DNWG=64 -DSA=0 -DSB=0 -DSTRM=0 -DSTRN=0 -DVWM=1 -DVWN=4;OpenCL: Intel(R) Corporation Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz @ 2700MHz
But Lizzie starts the tuning process from scratch trying to overwrite it with another values. Is it possible to make CPU-only version work?
Next version,we hope increasing the following function key
Why not submit a PR and add a switch to enable the continuous dump stats? so Lizzie can be used with the original leela zero
I can help if you want
I downloaded cpu.zip and the change in settings with gpu doesnt work, I only have one gpu and tried the [0,1] in so many ways under the leela settings and it juust doesnt work if i change it from [] } ... to ... [0,1] ] Lizzie won't even load up..... pls help I am trying to see how strong it can be with 8 cpu and 1 gpu.... I've even read another on another issue that it doesnt work on gpu.zip ( and if it does now and I can only use gpu on gpu.zip pls let me know )
It would be great tool if one can open sgf file and jump to choosen move number :)
Lizzie can not start when the config file was written “ "gpu": [0,1]”
I am using Lizzie primarily to analyze SGF files of games that have already been played. It would be much more useful to me if Lizzie highlighted the location of the move that was actually played in the displayed position (if any) rather than the location of its top-ranked move (which you can already see on the board from the color and stats of the suggestions). This could of course be an option if people prefer the old behavior.
I really like the colored heatmap of green to red, with the winnrate % and # playout dynamically shown per move ... is there a quick way for me to edit Sabaki code to made it like Lizzie's heatmap?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.