飞扬围棋论坛

 找回密码
 注册
搜索
查看: 7780|回复: 2
打印 上一主题 下一主题

minigo权重下载和转换办法

[复制链接]
跳转到指定楼层
1#
发表于 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从这里看到的  
回复

使用道具 举报

2#
 楼主| 发表于 2019-2-3 05:36 来自手机 | 只看该作者
有汉字也不行?
回复 支持 反对

使用道具 举报

3#
 楼主| 发表于 2019-2-3 17:20 | 只看该作者
需要google账户
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 23:24 , Processed in 0.145194 second(s), 18 queries .

since 2003飞扬围棋论坛 Licensed

© 2001-2013 Comsenz Inc.

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