Skip to content

hayoou AI GO 围棋版

Latest
Compare
Choose a tag to compare
@youkpan youkpan released this 15 Mar 13:25
· 22 commits to autofeogo since this release

hayoou.com 博客:
http://f.hayoou.com/blogs/entry/hayoou-AI-GO-%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E5%9B%B4%E6%A3%8B

如果有补丁 记得把补丁文件覆盖

下一步预测率 43%

run bat 文件
rem UI 界面 fuego-1.1-4-install.exe
rem 请设置文件夹绝对位置 F:\caffe-windows\release
rem win 7 以上 需要读取 C:\in.sgf 写入 C:\AIout.sgf 请使用管理员权限打开本脚本

:start

rd /s /q .\GO-test-run-leveldb
rem rd /s /q F:\caffe-windows\examples\GO\GO-test-run-leveldb

del .\test-run\convert_GO_data.exe.DESKTOP-3POG0OV.teluw.log* /q
rem in ->imba
copy C:\in.sgf F:\caffe-windows\release\test-run\imbai.sgf /Y
rem in ->out
rem 把路径设置一下 把mutiGO 的sgf 文件 保存在test-run ,1 为白方 2 为黑方
.\convert_GO_data.exe .\test-run 1 1 F:\caffe-windows\release\GO-test-run-leveldb --backend=leveldb

.\caffe.exe test --debug=true --iterations=1 --weights=lenet_5x5_iter_21000.caffemodel --model=GO_demo_LeNet_test_run_6L_5x5.prototxt
rem 2> Z:\AIout.txt
rem -gpu 0
rem OUT OK

rem out -> in
rem xxx "E:\MultiGo 4\gnugo.exe" -l C:\AIout.sgf -o C:\in.sgf --level 10
rem 调用 Fuego 走一步黑棋
type sgfcmd.txt | "C:\Program Files (x86)\Fuego\fuego.exe"

goto start