Giter VIP home page Giter VIP logo

leeladocker's Introduction

Leela Zero

主要信息

需要自行安装 nvidia-docker 以支持GPU。 如果无法安装,请使用其他人的纯CPU版本

项目
可执行文件 /leela_zero/src/build/leelaz
权重文件 /leela_zero/data/best-network.gz

root用户默认密码为root_for_leelaz,需要自己修改。

如何部署

推荐直接使用带有权重的yao11/leela:with_networ

 docker run -d --name='Leela-zero' \
    -p 32222:22 \
    --runtime=nvidia \
    yao11/leela:with_network

客户端

Windows

首先修改好client/settings.bat里的内容。

set HOST_IP=192.168.1.99
set PORT=32222
set NUM_THREADS=4

然后运行:

cd client
ssh_copy_id.bat
remote_leela.bat

需要注意的是leela第一次运行时会进行tune,需要等待比较长的时间。 测试没有问题后,就可以用GUI程序了。

以上操作在第一次建立容器时没有问题。 但在重新运行容器后,ssh会报错,警告现有机器与之前不一致。这时候请手动删除 client\.ssh。然后重新执行上述步骤。

如果想要手动更新权重请使用:

cd client
update_weights.bat

GoGui

Program->New Program,填写相关信息。

项目
Command D:\Tools\leela_z_docker\client\remote_leela.bat
Working directory D:\Tools\leela_z_docker\client|

设置

然后 Program->Attach Program,就可以开始使用了。 如果出现了如下警告可以忽略。

警告

Lizzie

直接运行lizzie.jar即可。

lizzie

Linux

leeladocker's People

Contributors

yao1993 avatar

Watchers

 avatar  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.