KataGo/Linux:修订间差异
跳到导航
跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(→編譯) |
(→編譯) |
||
第13行: | 第13行: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
git clone https://github.com/lightvector/KataGo.git; cd KataGo/cpp; cmake . -DBUILD_MCTS=1 -DUSE_BACKEND=OPENCL -DUSE_TCMALLOC=1; make -j8 | git clone https://github.com/lightvector/KataGo.git; cd KataGo/cpp; cmake . -DBUILD_MCTS=1 -DUSE_BACKEND=OPENCL -DUSE_TCMALLOC=1; make -j8 | ||
</syntaxhighlight> | |||
== 設定 == | |||
<syntaxhighlight lang="bash"> | |||
cd KataGo/cpp; cp configs/gtp_example.cfg ~/Lizzie/ | |||
</syntaxhighlight> | |||
== 下載最新的訓練資料 == | |||
這邊會下載目前最強的20 blocks、30 blocks與40 blocks版本到[[Lizzie]]的目錄下並且解開: | |||
<syntaxhighlight lang="bash"> | |||
cd ~/Lizzie/; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170-b40c256x2-s1349368064-d524332537.zip; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170-b30c320x2-s1287828224-d525929064.zip; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170e-b20c256x2-s2430231552-d525879064.zip; echo *.zip | xargs -n1 unzip | |||
</syntaxhighlight> | </syntaxhighlight> | ||
2020年3月7日 (六) 20:36的版本
KataGo是一套电脑围棋软体。
编译
先安装需要的套件:
apt install -y build-essential cmake git libboost-filesystem-dev libgoogle-perftools-dev libzip-dev nvidia-435 ocl-icd-opencl-dev zlib1g-dev
再来编译:
git clone https://github.com/lightvector/KataGo.git; cd KataGo/cpp; cmake . -DBUILD_MCTS=1 -DUSE_BACKEND=OPENCL -DUSE_TCMALLOC=1; make -j8
设定
cd KataGo/cpp; cp configs/gtp_example.cfg ~/Lizzie/
下载最新的训练资料
这边会下载目前最强的20 blocks、30 blocks与40 blocks版本到Lizzie的目录下并且解开:
cd ~/Lizzie/; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170-b40c256x2-s1349368064-d524332537.zip; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170-b30c320x2-s1287828224-d525929064.zip; wget https://d3dndmfyhecmj0.cloudfront.net/g170/neuralnets/g170e-b20c256x2-s2430231552-d525879064.zip; echo *.zip | xargs -n1 unzip
相关连结
外部连结
- 官方网站 (英文)