飞扬围棋论坛

 找回密码
 注册
搜索
查看: 7609|回复: 2

minigo权重下载和转换办法

[复制链接]
发表于 2019-2-3 05:34 来自手机 | 显示全部楼层 |阅读模式
@alreadydone thanks for the links!

This is what I ended up running to get converted models in case anyone wanted local commands:

cd build/run
pipenv shell --python 2
pipenv install gsutil
gsutil config
gsutil ls gs://minigo-pub/v16-19x19/models/000715* | gsutil cp -I .
mv 000715* ../convert
exit
cd ../convert
pipenv shell --python 3.6
pipenv install numpy tensorflow
./convert_minigo.py 000715-trusty
gunzip 000715-trusty_converted.txt.gz
mv 000715-trusty_converted.txt ../run/v16m715
Note that python 3.6 is required by tensorflow, and python 2.7 is required by gsutil. I symlinked training/minigo/convert_minigo.py to build/convert and renamed the resulting weights file for easy reference in gomill ringmaster.
https://github.com/leela-zero/leela-zero/issues/2183#issuecomment-459962389从这里看到的  
回复

使用道具 举报

 楼主| 发表于 2019-2-3 05:36 来自手机 | 显示全部楼层
有汉字也不行?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-2-3 17:20 | 显示全部楼层
需要google账户
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-28 23:57 , Processed in 0.124820 second(s), 19 queries .

since 2003飞扬围棋论坛 Licensed

© 2001-2013 Comsenz Inc.

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