飞扬围棋

 找回密码
 注册
搜索
楼主: lu01
打印 上一主题 下一主题

有人做出了leela-zero(可执行文件在15楼,缺dll文件在29楼)

[复制链接]
16#
发表于 2017-10-26 09:56 | 只看该作者

这是Debug版本,是调试用的,非发布用的release版本。
回复 支持 反对

使用道具 举报

17#
 楼主| 发表于 2017-10-26 10:06 来自手机 | 只看该作者
估计作者忙中出错,编译错
回复 支持 反对

使用道具 举报

18#
发表于 2017-10-26 11:54 | 只看该作者

你的机器缺VC运行库吧
回复 支持 反对

使用道具 举报

19#
 楼主| 发表于 2017-10-26 12:43 | 只看该作者
在网上下载了2个文件,可以执行了
D:\src>leela-zero --help
Leela Zero  Copyright (C) 2017  Gian-Carlo Pascutto
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.

Allowed options:
  -h [ --help ]                 Show commandline options.
  -g [ --gtp ]                  Enable GTP mode.
  -t [ --threads ] arg (=1)     Number of threads to use.
  -p [ --playouts ] arg         Weaken engine by limiting the number of
                                playouts. Requires --noponder.
  -b [ --lagbuffer ] arg (=100) Safety margin for time usage in centiseconds.
  -r [ --resignpct ] arg (=10)  Resign when winrate is less than x%.
  -m [ --randomcnt ] arg (=0)   Play more randomly the first x moves.
  -n [ --noise ]                Enable policy network randomization.
  -w [ --weights ] arg          File with network weights.
  -l [ --logfile ] arg          File to log input/output to.
  -q [ --quiet ]                Disable all diagnostic output.
  --noponder                    Disable thinking on opponent's time.
  --gpu arg                     ID of the OpenCL device(s) to use (disables
                                autodetection).
  --rowtiles arg (=5)           Split up the board in # tiles.

http://www.jb51.net/dll/ucrtbased.dll.html
http://www.jb51.net/dll/vcruntime140d.dll.html
回复 支持 反对

使用道具 举报

20#
 楼主| 发表于 2017-10-26 13:24 | 只看该作者
下载了 权数文件[https://sjeng.org/zero/best.txt.zip]

D:\src>leela-zero -g -w weights.txt
Using 1 thread(s).
Initializing OpenCL
Detected 1 OpenCL platforms
Platform version: OpenCL 1.2 CUDA 8.0.0
Platform profile: FULL_PROFILE
Platform name:    NVIDIA CUDA
Platform vendor:  NVIDIA Corporation
Device ID:     0
Device name:   GeForce GT 730
Device type:   GPU
Device vendor: NVIDIA Corporation
Device driver: 376.62
Device speed:  901 MHz
Device cores:  2 CU
Device score:  1112
Selected platform: NVIDIA CUDA
Selected device: GeForce GT 730
with OpenCL 1.2 capability
Wavefront/Warp size: 32
Max workgroup size: 1024
Max workgroup dimensions: 1024 1024 64
Detecting residual layers...256 channels...12 layers
Transferring weights to GPU...done
BLAS Core: Nehalem
回复 支持 反对

使用道具 举报

21#
 楼主| 发表于 2017-10-26 13:47 | 只看该作者
没法像leelagtp版那样分析

D:\src>sgfanalyze.py 171025.sgf --leela Leela0110GTP.exe  >171025_analyzed.sgf
Warning: Komi not specified, assuming 7.500000
Executing approx 519 analysis steps

|                                                  |   done% | Est... | done / total
|                                                  |   0.00% | Est... | 0 / 519
|                                                  |   0.19% | 0:41:19 | 1 / 517

D:\src>sgfanalyze.py 171025.sgf --leela Leela0110GTP_OpenCL.exe  >171025a_analyzed.sgf
Warning: Komi not specified, assuming 7.500000
Executing approx 519 analysis steps

|                                                  |   done% | Est... | done / total
|                                                  |   0.00% | Est... | 0 / 519
|                                                  |   0.19% | 0:20:15 | 1 / 517

D:\src>sgfanalyze.py 171025.sgf --leela Leela-zero.exe   >171025b_analyzed.sgf
Warning: Komi not specified, assuming 7.500000
Executing approx 519 analysis steps

|                                                  |   done% | Est... | done / total
|                                                  |   0.00% | Est... | 0 / 519
Traceback (most recent call last):
  File "D:\src\sgfanalyze.py", line 462, in <module>
    leela.start()
  File "D:\src\sgftools\leela.py", line 196, in start
    self.send_command('boardsize %d' % (self.board_size))
  File "D:\src\sgftools\leela.py", line 160, in send_command
    self.p.stdin.write(cmd + "\n")
IOError: [Errno 22] Invalid argument
Failure, reporting partial results...

|==================================================| 100.00% | 0:00:00 | 519 / 519
|==================================================| 100.00% | Done. | Elapsed Time: 0:00:02
回复 支持 反对

使用道具 举报

22#
发表于 2017-10-26 17:42 | 只看该作者
这个也是引擎文件,要用平台加载才能用。俺试了一下,加载才训练了几天的库已经能砍翻弈城7了

点评

不会吧这么厉害  发表于 2017-10-26 20:17
回复 支持 反对

使用道具 举报

23#
 楼主| 发表于 2017-10-26 17:51 | 只看该作者
原力猫 发表于 2017-10-26 17:42
这个也是引擎文件,要用平台加载才能用。俺试了一下,加载才训练了几天的库已经能砍翻弈城7了

能改造源代码用于sgf分析吗
回复 支持 反对

使用道具 举报

24#
发表于 2017-10-26 17:56 | 只看该作者
lu01 发表于 2017-10-26 17:51
能改造源代码用于sgf分析吗

先要等棋力提高。将来一定有分支来做分析的
回复 支持 反对

使用道具 举报

25#
发表于 2017-10-26 18:51 | 只看该作者
回复 支持 反对

使用道具 举报

26#
发表于 2017-10-26 19:27 | 只看该作者
太牛了。家用版alpha zero。
回复 支持 反对

使用道具 举报

27#
发表于 2017-10-27 11:15 | 只看该作者
用什么加载
回复 支持 反对

使用道具 举报

28#
发表于 2017-10-27 13:47 | 只看该作者
本帖最后由 原力猫 于 2017-10-27 13:50 编辑

有些事件说明一下,这个版本只是一个演示版,还是用人类的棋谱训练的,棋很本分,不善于乱战。指望其棋力的同学就没有必要试了,比现在的里拉0.110差远了。
加载的话是这样的:用sabaki , gogui . drago这类平台都可以,这里给个通用参数:-g --noponder -w weights.txt -t 8
运行中如果提示缺少某某文件可以去网上下载后放到里拉零的目录里就行了。还有weights.txt这个文件一定要有,也是放在目录中

因为缺少训练狗用的硬件资源,所以里拉的作者正在准备搞分布式计算,发动大家一起来训练新狗。这事也许近期就有眉目了

点评

谢谢!  发表于 2017-10-29 12:36
谢谢  发表于 2017-10-27 14:16
太专业了!  发表于 2017-10-27 14:02

评分

1

查看全部评分

回复 支持 反对

使用道具 举报

29#
 楼主| 发表于 2017-10-27 14:18 | 只看该作者




如果缺文件,用这2个


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

30#
发表于 2017-10-27 14:55 | 只看该作者
已经看不懂怎么玩的了。求大师们训练好狗狗,然后再分享!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|飞扬围棋网 ( 苏ICP备11029047号-1 )

GMT+8, 2024-9-30 00:07 , Processed in 0.141781 second(s), 18 queries .

since 2003飞扬围棋论坛 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表