飞扬围棋

标题: 微信开源PhoenixGo:业界领先的人工智能围棋 [打印本页]

作者: lu01    时间: 2018-5-11 16:37
标题: 微信开源PhoenixGo:业界领先的人工智能围棋

2018年05月11日 14:50 新浪体育综合
PhoenixGo PhoenixGo

  来源:公众号 微信后台团队   作者:微信翻译团队

  开源地址:

  https://github.com/Tencent/PhoenixGo

  去年DeepMind的AlphaGo Zero论文发表之后,我们惊叹于Zero强化学习算法的优雅、稳定和高效。恰好当时微信资源调度团队研发了一个大规模云计算平台,利用微信后台闲时的计算资源做机器学习的推理及训练。出于测试自研大规模云计算平台和研究AlphaGo Zero算法的目的,几名工程师陆续加入PhoenixGo这个项目,把论文上的算法一步步变成了一个“活的”、具有职业棋手棋力的AI程序。从1月底开始,PhoenixGo以BensonDarr(昵称“金毛”)的名义在腾讯野狐围棋平台上和全球顶尖职业棋手、围棋爱好者及各路围棋AI对弈,在4月底取得了200多连胜,并在福州2018世界人工智能围棋大赛上夺冠。


  AlphaGo Zero需要海量的计算资源来生成棋谱,PhoenixGo复用了微信后台成千上万台CPU服务器的空闲时段得以成长,但这种量级的计算资源很难被普通大众所获取。为了其他研究者可以在我们的基础上继续探索围棋AI的奥秘,为了棋手可以更方便地研究围棋AI的棋路,也为了众多围棋爱好者在家用普通电脑上可以享受和职业九段手谈的乐趣,我们决定开源PhoenixGo对弈源码和训练好的模型。

  从福州比赛回来后我们开始着手PhoenixGo的开源。经过一周多时间的源码整理,这次我们开源PhoenixGo对弈源码和一个20 block的模型。训练源码和其它源码由于跟微信内部的云计算平台耦合较深、不易分离,暂不开源。这份源码和模型可以在单块GPU上提供强职业棋手的棋力,在单机多卡和多机多卡的系统上具有远超人类棋手的水平。我们在野狐围棋平台上的账号“金毛测试”,运行于1块性能与GTX 1080 Ti性能接近的Tesla P40上,对人类棋手具有非常高的胜率。

  最后感谢DeepMind发表了AlphaGo Zero论文,让一个不懂围棋的技术团队能开发出PhoenixGo;感谢陪伴{BensonDarr、时空奇点、金毛测试、金毛陪练}@野狐围棋、Cronus@弈城、cronus@cgos成长的对弈棋手、AI程序以及广大围观棋迷!
作者: opkk    时间: 2018-5-11 18:56
感谢DeepMind发表了AlphaGo Zero论文,让一个不懂围棋的技术团队能开发出PhoenixGo;感谢陪伴{BensonDarr、时空奇点、金毛测试、金毛陪练}@野狐围棋、Cronus@弈城、cronus@cgos成长的对弈棋手、AI程序以及广大围观棋迷!
作者: lu01    时间: 2018-5-11 19:32
cronus@cgos http://www.yss-aya.com/cgos/19x19/cross/cronus_v0.1.3.html
作者: txh6062    时间: 2018-5-11 20:12
开来洋神系列都是金毛了。总统和朝代是ELF
作者: lwq0130    时间: 2018-5-11 22:33

作者: hred9D    时间: 2018-5-12 13:14
金毛这个还是20B,强不到哪里去
再说编译为其它引擎可以使用的权重,不见得强于同样编译的ELF权重
作者: 阿扬    时间: 2018-5-12 20:55
以后各类对弈平台网战没啥意思了
作者: hidear    时间: 2018-5-13 00:28

作者: book    时间: 2018-5-13 08:49
感谢微信金毛团队
作者: lu01    时间: 2018-5-20 03:34
mac版发布了,windows也在推进
作者: txh6062    时间: 2018-5-20 08:48
mac好像是CPU版本
作者: lu01    时间: 2018-5-21 22:12
windows版完成了 https://github.com/Tencent/PhoenixGo/issues/20
作者: 罗浩宇    时间: 2018-5-22 01:37
lu01 发表于 2018-5-21 22:12
windows版完成了 https://github.com/Tencent/PhoenixGo/issues/20

在测试中 ,没有发出来!

作者: lu01    时间: 2018-5-22 13:41
罗浩宇 发表于 2018-5-22 01:37
在测试中 ,没有发出来!

https://github.com/Tencent/Phoen ... 5f042337cc2d444b2c4

作者: lu01    时间: 2018-5-23 15:32
windows 版发布了
https://github.com/Tencent/Phoen ... /win-x64-cpuonly-v1
作者: 罗浩宇    时间: 2018-5-23 15:36
看见了 版主 能教下怎么安装吗?参数如何 设置 ? 谢谢
作者: lu01    时间: 2018-5-23 16:02
罗浩宇 发表于 2018-5-23 15:36
看见了 版主 能教下怎么安装吗?参数如何 设置 ? 谢谢

[attach]146007[/attach]
下载的压缩包里有这个文件



作者: lu01    时间: 2018-5-23 16:11
我运行start.bat没反应,用里面的两行,可以
D:\tool\PhoenixGo>set config=etc\mcts_cpu.conf

D:\tool\PhoenixGo>bin\mcts_main.exe --config_path=%config% --gtp --log_dir=log --v=1
2018-05-23 16:10:09.272340: I model\zero_model.cc:72] Read checkpoint state succ
2018-05-23 16:10:09.306540: I model\zero_model.cc:80] Read meta graph succ
2018-05-23 16:10:09.322140: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your
CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2018-05-23 16:10:09.402140: I model\zero_model.cc:100] Create session succ
2018-05-23 16:10:09.491140: I model\zero_model.cc:107] Create graph succ
2018-05-23 16:10:09.998540: I model\zero_model.cc:119] Load checkpoint succ

作者: lu01    时间: 2018-5-23 16:30
输入gtp命令可以

play b a1
genmove w

作者: 罗浩宇    时间: 2018-5-23 18:35
lu01 发表于 2018-5-23 16:11
我运行start.bat没反应,用里面的两行,可以
D:\tool\PhoenixGo>set config=etc\mcts_cpu.conf

非常感谢 已经装上了 并且设置好了 参数设置好的金毛CPU非常厉害 经测试 3比0胜LZ最新上位权重!

作者: 阿扬    时间: 2018-5-23 21:19
牛逼
作者: BenJin    时间: 2018-5-23 21:29
楼主,你好! 请问在Sabaki中如何设计金毛的参数,比如时间,我现在已经可以正常运行,谢谢!
作者: lu01    时间: 2018-5-23 21:38
胜了142?再和ELF对一局
作者: lu01    时间: 2018-5-24 08:32
[attach]146049[/attach]

命令 D:\tool\PhoenixGo\bin\mcts_main.exe --config_path=etc\mcts_cpu.conf --gtp --log_dir=log --v=1
[attach]146050[/attach]

作者: lu01    时间: 2018-5-24 09:35
本帖最后由 lu01 于 2018-5-24 09:38 编辑

利用gogui使PhoenixGo和leelaz对弈的步骤
下载http://zero.sjeng.org/networks/3 ... 2b37ec122ab6863d.gz,解压缩到
leelaz的目录下,改名为3ef8
把 D:\tool\PhoenixGo\etc目录下的mcts_cpu.conf复制一份给cpu.conf然后将如下行
train_dir: "ckpt"
修改为:
train_dir: "D:\\tool\\PhoenixGo\\ckpt"
在gogui目录下输入如下命令行
gogui -program "gogui-twogtp.exe -black \"D:\tool\PhoenixGo\bin\mcts_main.exe --config_path=D:\tool\Phoen
ixGo\etc\cpu.conf --gtp --log_dir=D:\tool\PhoenixGo\log --v=1\" -white \"D:\tool\valid14\leelaz.exe -g -w D:\tool\valid1
4\3ef8\"" -computer-bothh

作者: lu01    时间: 2018-5-24 09:40
[attach]146057[/attach]
PhoenixGo vs Leela zero界面


作者: lxjtt09    时间: 2018-5-24 10:31
下了一盘,leelazero用elf权重,playouts3000,里拉中盘胜,看来还要等显卡版。
作者: lu01    时间: 2018-5-24 10:47
本帖最后由 lu01 于 2018-5-24 11:14 编辑

命令行自动多盘
gogui-twogtp.exe -black "D:\tool\valid14\leelaz.exe -g -w D:\tool\valid14\3ef8" -white  "D:\tool\PhoenixGo\bin\mcts_main.exe --config_path=D:\tool\PhoenixGo\etc\cpu.conf --gtp --log_dir=D:\tool\PhoenixGo\log --v=1" -auto -sgffile lz_pg -komi 7.5 -games 10

[attach]146061[/attach]
作者: invincible007    时间: 2018-5-24 11:27
PhoenixGo好像下不过Leela Zero.
作者: 阿扬    时间: 2018-5-24 12:13
罗浩宇 发表于 2018-5-23 18:35
非常感谢 已经装上了 并且设置好了 参数设置好的金毛CPU非常厉害 经测试 3比0胜LZ最新上位权重!

太牛逼
作者: lu01    时间: 2018-5-24 12:25
本帖最后由 lu01 于 2018-5-24 12:29 编辑
阿扬 发表于 2018-5-24 12:13
太牛逼

我这里lz:pg是3:0,用图形界面那盘komi错设成6.5,sgf的信息不对,
[attach]146063[/attach]

[attach]146062[/attach]



作者: lu01    时间: 2018-5-24 12:44
本帖最后由 lu01 于 2018-5-24 12:50 编辑

[attach]146065[/attach] 又见征子

[attach]146064[/attach]

貌似白棋可以逃得出去,为什么认输
[attach]146064[/attach]
作者: lxjtt09    时间: 2018-5-24 13:22
跑不了,黑117手可以走在118手得位置。
作者: lxjtt09    时间: 2018-5-24 13:24
本帖最后由 lxjtt09 于 2018-5-24 13:26 编辑

凤凰围棋cpu版感觉计算时间太短了,不怎么想就落子。
作者: lxjtt09    时间: 2018-5-24 13:27
这盘leela-elf执黑下得相当精彩。
作者: lu01    时间: 2018-5-24 16:10
lxjtt09 发表于 2018-5-24 13:24
凤凰围棋cpu版感觉计算时间太短了,不怎么想就落子。

默认每步5秒,我改成50秒试试


作者: hred9D    时间: 2018-5-24 18:23
金毛执白速败,黑ELF
[attach]146071[/attach][attach]146072[/attach]
作者: hred9D    时间: 2018-5-24 18:56
金毛执白速败,黑里拉521b0868权重

作者: lu01    时间: 2018-5-25 08:07
PhoenixGo gpu版,据说强很多
https://github.com/Tencent/PhoenixGo/releases/tag/win-x64-gpu-v1
作者: lu01    时间: 2018-5-25 09:09
本帖最后由 lu01 于 2018-5-25 10:43 编辑
lu01 发表于 2018-5-25 08:07
PhoenixGo gpu版,据说强很多
https://github.com/Tencent/PhoenixGo/releases/tag/win-x64-gpu-v1

很麻烦,还要下载安装nivida的一些驱动
到现在还没好
[attach]146080[/attach]
不过有人把权重转成了leelaz格式 https://github.com/yenw/LeelaZero_PhoenixGo



作者: hred9D    时间: 2018-5-25 10:04
CPU版本的金毛的确太弱,不过没有GPU的电脑还是可以使用,对付对付学棋也不错了

下载GPU版本看看

作者: lu01    时间: 2018-5-25 11:03
本帖最后由 lu01 于 2018-5-25 14:08 编辑

权重转成了leelaz格式 https://github.com/yenw/LeelaZero_PhoenixGo 不错,gpu版击败权重144 (http://zero.sjeng.org/networks/9 ... 8434f26e6baff02e.gz),后面又输了一盘


[attach]146082[/attach]

[attach]146081[/attach]

[attach]146086[/attach]

[attach]146087[/attach]

[attach]146088[/attach]
gogui-twogtp.exe -black "D:\tool\valid14\leelaz.exe -g -w D:\tool\valid14\9e88" -white  "D:\tool\lzp\lzgp.exe -g -w D:\tool\lzp\PhoenixGo_v1.txt" -auto -sgffile lz_lzp -komi 7.5 -games 10

# Black: Leela Zero
# BlackCommand: D:\tool\valid14\leelaz.exe -g -w D:\tool\valid14\9e88
# BlackLabel: Leela Zero:0.15
# BlackVersion: 0.15
# Date: May 25, 2018 9:47:18 AM CST
# Host: PC
# Komi: 7.5
# Referee: -
# Size: 19
# White: Leela Zero
# WhiteCommand: D:\tool\lzp\lzgp.exe -g -w D:\tool\lzp\PhoenixGo_v1.txt
# WhiteLabel: Leela Zero:0.14
# WhiteVersion: 0.14
# Xml: 0
#
#GAME    RES_B    RES_W    RES_R    ALT    DUP    LEN    TIME_B    TIME_W    CPU_B    CPU_W    ERR    ERR_MSG
0    W+R    W+R    W+R    0    -    158    1864.8    1747.1    0    0    0   
1    B+R    B+R    B+R    0    -    131    1565    1487.7    0    0    0   
2    B+R    B+R    B+R    0    -    179    1934.8    1966.1    0    0    0   
3    B+R    B+R    B+R    0    -    113    1187.8    1101.8    0    0    0   
4    B+R    B+R    B+R    0    -    91    1111.6    1054.2    0    0    0   


作者: hred9D    时间: 2018-5-25 13:43
转换后的金毛里拉,还是下不赢ELF
作者: lu01    时间: 2018-5-25 14:09
hred9D 发表于 2018-5-25 13:43
转换后的金毛里拉,还是下不赢ELF

我这里对lz144已经1胜4负


作者: lu01    时间: 2018-5-25 16:13
本帖最后由 lu01 于 2018-5-25 16:15 编辑
lu01 发表于 2018-5-25 08:07
PhoenixGo gpu版,据说强很多
https://github.com/Tencent/PhoenixGo/releases/tag/win-x64-gpu-v1

下载
https://developer.download.nvidi ... ziaLs4RtpvybutC1TFg

https://developer.download.nvidi ... BoVL2yXSqB9VgG6ry7w
然后只要把里面的如下文件复制到bin目录就可以运行了
2017/09/02  21:46        75,222,016 cusolver64_90.dll
2017/12/20  08:00        54,028,288 cublas64_90.dll
2018/05/05  11:17       331,322,880 cudnn64_7.dll
2017/09/02  21:46       131,197,952 cufft64_90.dll
2017/09/02  21:46        48,057,344 curand64_90.dll



D:\tool\pgp>bin\mcts_main.exe --config_path=etc\mcts_1gpu_notensorrt.conf --gtp --log_dir=log --v=1
2018-05-25 16:01:12.800699: I model\zero_model.cc:72] Read checkpoint state succ
2018-05-25 16:01:12.827699: I model\zero_model.cc:80] Read meta graph succ
2018-05-25 16:01:12.828699: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your
CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2018-05-25 16:01:13.441699: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1344]
Found device 0 with properties:
name: GeForce GT 730 major: 3 minor: 5 memoryClockRate(GHz): 0.9015
pciBusID: 0000:01:00.0
totalMemory: 2.00GiB freeMemory: 405.59MiB
2018-05-25 16:01:13.450699: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1423]
Adding visible gpu devices: 0
2018-05-25 16:01:20.394899: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:911] D
evice interconnect StreamExecutor with strength 1 edge matrix:
2018-05-25 16:01:20.398899: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:917]
    0
2018-05-25 16:01:20.414499: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:930] 0
:   N
2018-05-25 16:01:20.432099: I E:\Tensorflow\PhoenixGo\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1041]
Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1024 MB memory) -> physical GPU (device: 0,
name: GeForce GT 730, pci bus id: 0000:01:00.0, compute capability: 3.5)
2018-05-25 16:01:20.474299: I model\zero_model.cc:100] Create session succ
2018-05-25 16:01:20.519299: I model\zero_model.cc:107] Create graph succ
2018-05-25 16:01:21.845699: I model\zero_model.cc:119] Load checkpoint succ
play b c3
1th move(b): cc, winrate=-nan(ind)%, N=0, Q=-nan(ind), p=0.010924, v=-nan(ind), cost 11482.799805ms, sims=64, height=4,
avg_height=2.935897, global_step=639200
=

genmove w
2th move(w): dp, winrate=57.060974%, N=26, Q=0.141220, p=0.177330, v=0.130249, cost 22661.199219ms, sims=144, height=6,
avg_height=3.583851, global_step=639200
= D16

quit
=


作者: lxjtt09    时间: 2018-5-28 08:04
本帖最后由 lxjtt09 于 2018-5-28 08:29 编辑

好容易把凤凰围棋gpu版装上,每方10秒好像还是下不过里拉elf,昨晚设成每方15秒,居然2比一赢了里拉,再观察两天看看。
作者: lxjtt09    时间: 2018-5-28 21:08
今天凤凰再次2比一里拉elf。感觉elf权重执黑比较厉害。
作者: lxjtt09    时间: 2018-5-28 21:12
本帖最后由 lxjtt09 于 2018-5-28 21:13 编辑

凤凰围棋对140号权重,每方10秒,轻松3比0完胜。
作者: lxjtt09    时间: 2018-5-28 21:13
高性能显卡更能发挥凤凰围棋的威力。我的显卡比较差,gtx1050凑合用的。
作者: lxjtt09    时间: 2018-5-28 21:15
无论是里拉elf还是凤凰围棋都可以当学棋的标杆了。中盘战,官子都很好的。
作者: lu01    时间: 2018-5-29 12:29
lxjtt09 发表于 2018-5-28 21:13
高性能显卡更能发挥凤凰围棋的威力。我的显卡比较差,gtx1050凑合用的。

我的gtx 730完败给leelaz[attach]146247[/attach]

作者: lxjtt09    时间: 2018-5-29 13:14
我的机器上凤凰围棋征子问题好像还没出现。
作者: lu01    时间: 2018-5-29 14:02
看来很挑配置
作者: hred9D    时间: 2018-6-2 07:38
lu01 发表于 2018-5-25 16:13
下载
https://developer.download.nvidi ... ziaLs4RtpvybutC1TFg

已经安装,可以运行了,谢谢
补充一下安装办法
1,使用配置文件'etc \ mcts_gpu_notensorrt.conf'
单GPU用户,应该把目录下的文件mcts_1gpu_notensorrt.conf,更改为上述名称mcts_gpu_notensorrt.conf
2,驱动程序中的*.dll文件,可以在不安装驱动情况下,在D:\Temp临时文件夹下,NVIDIA驱动中查找,复制出来

作者: hred9D    时间: 2018-6-2 08:23
测试了一下,默认时间
与ELF一胜一负
均为金毛执黑贴7.5目
感觉金毛的棋像人类,相比较之下,而ELF和里拉一样有点生硬

作者: hred9D    时间: 2018-6-3 20:09
元晟溱接受采访说:“现在棋手们不会去研究会扎堆研究,而是靠人工智能自己练棋。我个人是下练习棋用脸书的ELF OpenGo,复盘用leela zero。”
作者: 扳黏童男    时间: 2018-6-7 10:22
感謝
作者: lu01    时间: 2018-6-29 22:33
https://github.com/yenw/LeelaZero_PhoenixGo
作者: lu01    时间: 2018-6-30 08:23
Please don't use it to take part in AI competitions!

•0.15 + lizzie
◦Source Code ◾https://github.com/yenw/LeelaZer ... oenix-go-lizzie.zip

◦Weights ◾V1: https://github.com/yenw/LeelaZer ... PhoenixGo_v1.txt.gz

◦Leela Zero ◾Windows ◾CPU: https://github.com/yenw/LeelaZer ... _cpu_lizzie.exe.zip
◾GPU: https://github.com/yenw/LeelaZer ... encl_lizzie.exe.zip




•0.15
◦Source Code ◾https://github.com/yenw/LeelaZer ... 0.15-phoenix-go.zip

◦Weights ◾V1: https://github.com/yenw/LeelaZer ... PhoenixGo_v1.txt.gz

◦Leela Zero ◾Windows ◾CPU: https://github.com/yenw/LeelaZer ... win_x86_cpu.exe.zip
◾GPU: https://github.com/yenw/LeelaZer ... _gpu_opencl.exe.zip



作者: lu01    时间: 2018-6-30 08:41
lu01 发表于 2018-6-30 08:23
Please don't use it to take part in AI competitions!

•0.15 + lizzie

C:\Users\aaa\Downloads\pg>leelaz_win_x86_gpu_opencl_lizzie -w ..\PhoenixGo_v1.txt.gz
Using 2 thread(s).
RNG seed: 8278105134412762787
Leela Zero 0.15  Copyright (C) 2017-2018  Gian-Carlo Pascutto and contributors
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.
Detecting residual layers...v1...256 channels...19 blocks.
Initializing OpenCL.
Detected 1 OpenCL platforms.
Platform version: OpenCL 1.2
Platform profile: FULL_PROFILE
Platform name:    Intel(R) OpenCL
Platform vendor:  Intel(R) Corporation
Device ID:     0
Device name:   Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz
Device type:   CPU
Device vendor: Intel(R) Corporation
Device driver: 3.0.1.10878
Device speed:  1699 MHz
Device cores:  4 CU
Device score:  512
Device ID:     1
Device name:   Intel(R) HD Graphics 4400
Device type:   GPU
Device vendor: Intel(R) Corporation
Device driver: 10.18.10.3412
Device speed:  400 MHz
Device cores:  20 CU
Device score:  612
Selected platform: Intel(R) OpenCL
Selected device: Intel(R) HD Graphics 4400
with OpenCL 1.2 capability.
Started OpenCL SGEMM tuner.
Will try zu valid configurations.
(1/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=16 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 8.5944 ms (24.4 GFLOPS)

作者: hred9D    时间: 2018-6-30 12:32
gpu_opencl_lizzie.exe与gpu_opencl.exe有什么区别呢?

作者: lu01    时间: 2018-6-30 13:47
https://github.com/yenw/LeelaZero_PhoenixGo/issues/8#issuecomment-401515985
作者: liangr    时间: 2018-6-30 14:24
有大神下载后放到百度网盘吗,下载太慢了。
作者: jcjcw3    时间: 2018-7-14 02:01
lxjtt09 发表于 2018-5-28 08:04
好容易把凤凰围棋gpu版装上,每方10秒好像还是下不过里拉elf,昨晚设成每方15秒,居然2比一赢了里拉,再观 ...

你好,想修改Phoenix的保留时间,请问如何设置呢?
作者: lxjtt09    时间: 2018-7-14 08:52
jcjcw3 发表于 2018-7-14 02:01
你好,想修改Phoenix的保留时间,请问如何设置呢?

Phoenixgo目录里面etc目录里面四个文件用写字板打开,timeout_ms_per_step: 15000改成这样差不多15秒,30000就30秒。然后enable_background_search:后面设成0较好,这样不占用对战引擎资源。现在来看感觉凤凰围棋还是下不过里拉elf.不知道在1080下面怎么样,我1050的显卡很渣。

作者: jcjcw3    时间: 2018-7-14 15:03
多谢解答,这两个都学会了,还有一个问题再请教,就是每方保留时20分钟,超出后10秒落子。这个保留时间20分钟,要修改哪个配置参数?谢谢!
作者: lxjtt09    时间: 2018-7-14 16:16
jcjcw3 发表于 2018-7-14 15:03
多谢解答,这两个都学会了,还有一个问题再请教,就是每方保留时20分钟,超出后10秒落子。这个保留时间20分 ...

这个我没用过,我也不会。

作者: 原力猫    时间: 2018-7-14 20:06
这东西有新的整套细分版本
[attach]147830[/attach]

phoenix-orig-mt: 正常版,@yenw在GitHub上发布的LeelaZero_PhoenixGo引擎,改成金毛原版参数(包括多线程使用的virtual loss,下同)
phoenix-komi-mt: 让子版 (保持胜率5-12%,目标胜率10%,目标贴目7.5)
phoenix-komi-lin-mt: 让子版,且低胜率时对胜率更敏感
phoenix-endgame-mt: 不退让版(保持胜率30-70%,目标胜率50%,贴目变化无上下限)
保持胜率上限:--max-wr 参数
保持胜率下限:--min-wr 参数
目标胜率:--mid-wr 参数
示例: --max-wr 0.95 --min-wr 0.0 --mid-wr 0.9  (此参数可使不退让版接近正常版棋力,且能够认输)
可使用例如--puct 2.5 调整puct参数,--fpu-reduction 0.25 --softmax_temp 0.67 参数也可以调整
均已加入网络概率输出,适用于MyLizzie,不适用于官方Lizzie 0.5,可使用压缩包内附带的lizzie-0.5-shaded.jar(用来代替原有的lizzie.jar),由Discord上的@kuba提供,也能显示贴目值,与官方版差异见dynamic_komi_patch.txt。

作者: chiefmao    时间: 2019-1-21 20:18
开始运行就中止:unacceptable komi
请问什么原因?




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