Git Product home page Git Product logo

leelasabaki's Introduction

LeelaSabaki

Leela (Zero) integration with Sabaki.

Screenshot

Features

  • Shows heatmap of network probabilities
  • Adds considered variations to the game tree in Sabaki, along with winning statistics

Installation

  • Make sure you have the engine only version of Leela or Leela Zero.
  • Make sure you have the most recent version of Sabaki installed.
  • Download LeelaSabaki, or build it yourself. Make sure you have permission to execute the files.
  • Open Sabaki and open the 'Preferences' drawer by pressing Ctrl/Cmd+,.
  • Click on the 'Engines' tab and add a new engine with the following settings:
    • Path: Your path to LeelaSabaki
    • Arguments: LeelaSabaki options, followed by your path to Leela (Zero), followed by additional command line arguments to Leela. Leela will be called with the --gtp option automatically. If you're using Leela Zero, make sure to configure it properly.
  • Example
    • Path: leelasabaki
    • Arguments: --heatmap my_path/leelaz -w my_path/weights.txt --playouts 100 --noponder

CLI Manual

Usage

$ leelasabaki [--flat] [--heatmap] [--help] <path-to-leela> [leela-arguments...]

Options

  • --flat

    Instead of appending variations as multiple moves, we will append one node per variation with the final board arrangement and move numbers.

  • --heatmap

    Visualizes network probabilities as a heatmap after each generated move.

  • --help

    Displays help message.

Building

Make sure you have Node.js and npm installed. First, clone LeelaSabaki:

$ git clone https://github.com/SabakiHQ/LeelaSabaki.git
$ cd LeelaSabaki

Install the dependencies of LeelaSabaki with npm:

$ npm install

To build binaries use the following command:

$ npm run build

This will create an executable file in /bin.

Related

  • gtp - A Node.js module for handling GTP engines.

leelasabaki's People

Contributors

yishn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.