featurecat / lizzie

Lizzie - Leela Zero Interface
GNU General Public License v3.0
970 stars 228 forks source link

Pachi + Lizzie ! #479

Open lemonsqueeze opened 5 years ago

lemonsqueeze commented 5 years ago

lizzie_small

Hi !

Just came up with this hack to get Pachi working with Lizzie.

This is a very fun way to run Pachi actually ! The graphics are amazing. I don't have a fast enough gpu to run Leela-Zero at full speed so i couldn't witness it first hand until now. All running on the cpu here, wow. Pachi is definitely not as sharp as Leela-Zero strength-wise but at my level of play this won't be an issue.

For now you need to recompile Pachi with the latest code from the pull request and use a script which makes it look like a Leela-Zero instance to Lizzie =)

Then just change the engine command in Lizzie's config.txt to something like:

"engine-command": "./lizzie_pachi /path/to/pachi reporting=leelaz,reportfreq=500",

Tweak reportfreq to change the update speed. Don't forget to install Pachi's dcnn files or it won't be very strong. Haven't tested it extensively yet but it seems to be working well so far. If you see something please let me know.

Thank you for Lizzie !

featurecat commented 5 years ago

Wow that is really awesome!!! Thank you

lemonsqueeze commented 5 years ago

Here's a beta release for Windows: Lizzie-Pachi.0.6.beta.Windows.x64.CPU.zip

This is Lizzie v0.6 release with Pachi 12.30 beta basically.

Notes:

Edit: Fixed Pachi so we don't need the perl script anymore.

lemonsqueeze commented 5 years ago

Updated release with Pachi-12.30:

Lizzie-0.6.Pachi-12.30.Windows.zip

lemonsqueeze commented 5 years ago

Pachi-12.40 release:

Lizzie-0.6.Pachi-12.40.Windows.zip

featurecat commented 5 years ago

I see you updated your Readme for easy Pachi+Lizzie installation :)

I am wondering, about how strong is Pachi now on an average desktop? Since I noticed it has DCNN support. I think it's a cool project, what are some advantages of using Pachi over Leela Zero?

lemonsqueeze commented 5 years ago

I am wondering, about how strong is Pachi now on an average desktop? Since I noticed it has DCNN support. I think it's a cool project, what are some advantages of using Pachi over Leela Zero?

It should be a solid 2d (kgs) with default settings. For strong players, or to study fuseki / joseki no question Leela Zero is better. For players around that strength and below it can be a great player to play with though: dcnn, tree search and playouts blend with each other nicely. Playouts are cheap so it runs well on any kind of hardware, and together with mcts does well with ladders, seki, and pretty much any kind of game (handicap, unusual komi, other board sizes ...)

Plus they handle japanese rules now =)

So on the technical side i'd say it boils down to whether you have a good gpu or not, or want to play a type of game Leela Zero doesn't handle. On the human side it's been said the ideal opponent to learn from is about 3-5 stones stronger than you. For beginners Leela-Zero is just too strong, better pick up a lower ranked bot and adjust handicap as you progress.