飞扬围棋

标题: Leela Zero 0.2发布 [打印本页]

作者: lu01    时间: 2017-10-31 08:37
标题: Leela Zero 0.2发布
https://github.com/gcp/leela-zero/releases

作者: lu01    时间: 2017-10-31 08:40
权数文件格式变了
D:\src\2>leelaz.exe
A network weights file is required to use the program.

D:\src\2>leelaz.exe -w ..\weights.txt
Using 1 thread(s).
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.

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...Weights file is the wrong version.
作者: 每周一练    时间: 2017-10-31 08:49
这个怎么用。。。
作者: lu01    时间: 2017-10-31 08:54
https://sjeng.org/zero/best_v1.txt.zip 太慢
作者: missdeer    时间: 2017-10-31 09:01
lu01 发表于 2017-10-31 08:54
https://sjeng.org/zero/best_v1.txt.zip 太慢

你需要一个好的梯子

作者: lu01    时间: 2017-10-31 09:24
太慢了
Length: 8220043 (7.8M), 831819 (812K) remaining [application/zip]
Saving to: 'best_v1.txt.zip'

best_v1.txt.zip                90%[++++++++++++++++++++++++++++++++++++++++++++>     ]   7.07M  5.09KB/s    eta 2m 35s
作者: lu01    时间: 2017-10-31 09:43
可以玩了

D:\src\2>leelaz.exe -w weights.txt
Using 1 thread(s).
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.

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...v1...128 channels...6 blocks
Transferring weights to GPU...done
BLAS Core: Nehalem

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: 670A3AFFB6D307CB Ko-Hash: BD35C7CCC5500278

Black time: 01:00:00
White time: 01:00:00

Leela:

作者: lu01    时间: 2017-10-31 09:53
按照
http://www.lianxgo.com/lxbbs/showtopic-367.aspx
的命令
Leela: play black E3
=


Passes: 0            Black (X) Prisoners: 0
White (O) 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 . . . .(X). . . . . . . . . . . . . .  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: DE4E0C21C1BD7F98 Ko-Hash: AFBC5ADF19F3D1E6

Black time: 01:00:00
White time: 01:00:00

Leela: genmove white
Thinking at most 50.0 seconds...
NN eval=0.504864
Playouts: 101, Win: 49.94%, PV: Q16 Q4 D16 C14 F17
...
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 . . . + . . . . . + . . . . .(O). . . 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 . . . . X . . . . . . . . . . . . . .  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: 8F1667F07C269A02 Ko-Hash: 55299AC30FA59FB1

Black time: 01:00:00
White time: 00:59:10
作者: lu01    时间: 2017-10-31 10:00
再Leela: genmove black就自己和自己玩了
作者: ILoveBt2    时间: 2017-10-31 10:09
觉得慢的同学可以用下面的链接:
执行文件: http://pan.baidu.com/s/1eRYSAzw
权数文件: http://pan.baidu.com/s/1o8hzDVk
作者: caiyidie    时间: 2017-10-31 10:21
楼主大牛人
作者: guandaxin1    时间: 2017-10-31 12:10
这个是分布式训练吗?
作者: guandaxin1    时间: 2017-10-31 13:08
autogtp 就可以自对弈了啊
作者: 少歌    时间: 2017-10-31 13:15
可以解释一下吗?怎么用,是分布式训练?配置要求等。大家学会用了,可以帮作者和大家啊。

作者: lu01    时间: 2017-10-31 13:23
guandaxin1 发表于 2017-10-31 13:08
autogtp 就可以自对弈了啊

D:\src\2>autogtp.exe
autogtp v0.1
./leelaz.exe -g -n -m 30 -w weights.txt -p 1000 --noponder
Time successfully set.
Move received: Q4
Move received: N5



作者: guandaxin1    时间: 2017-10-31 13:32
lu01 发表于 2017-10-31 13:23
D:\src\2>autogtp.exe
autogtp v0.1
./leelaz.exe -g -n -m 30 -w weights.txt -p 1000 --noponder

训练一盘要好长时间。这不是分布式训练吧

作者: hred9D    时间: 2017-11-1 13:41
自对弈与AlphaGo的20天青年版第一局一样,像小朋友第一次下围棋
作者: hred9D    时间: 2017-11-1 13:42
Leela zero 自对弈
作者: hred9D    时间: 2017-11-1 13:44
自对弈生成的棋谱.sgf和对应的权重.txt文件
作者: txhylh    时间: 2017-11-1 14:53
可以使用了,但不知道如何训练提高软件的水平?哪位大侠分享一下训练方法!
作者: lu01    时间: 2017-11-1 20:01
估计作者也没想好
作者: oceanland    时间: 2017-11-1 22:12
作者主页上写了用Caffre对训练数据进行分析的事情,但没有给出实例。0.2版有点进步,虽然还是花架子,但对Zen6都可以活几块棋了。
作者: hred9D    时间: 2017-11-2 08:35
一个想法,就跟自己下,比如对弈一百局,培养一个“自己”,比如yc5D,这个软件训练出来就是yc5D自己不能战胜的对手,但是,是一个真实的提高了水平的“自己”!
然后用这个高一段的自己,去测试其他对弈,我觉得结果非常有趣。。。
作者: lu01    时间: 2017-11-3 09:05
[attach]139975[/attach]

作者: hred9D    时间: 2017-11-4 06:47
autogtp v0.1
./leelaz.exe -g -n -m 30 -r 0 -w weights.txt -p 800 --noponder
Time successfully set.
Move received: J16
Move received: Q4
Move received: D4
Move received: M17
Move received: J18
Move received: E12
Move received: T11
Move received: P17
Move received: D16
---------------------------
0.3版本参数变了




欢迎光临 飞扬围棋 (http://flygo.net/BBS/) Powered by Discuz! X3.2