飞扬围棋

标题: minigo权重下载和转换办法 [打印本页]

作者: lu01    时间: 2019-2-3 05:34
标题: minigo权重下载和转换办法
@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从这里看到的  
作者: lu01    时间: 2019-2-3 05:36
有汉字也不行?
作者: lu01    时间: 2019-2-3 17:20
需要google账户




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