maxpumperla / deep_learning_and_the_game_of_go

Code and other material for the book "Deep Learning and the Game of Go"
https://www.manning.com/books/deep-learning-and-the-game-of-go
953 stars 387 forks source link

chapter 8:could you help me to play with gnugo? #57

Closed xhw98 closed 4 years ago

xhw98 commented 4 years ago

when i read chapter 8 of gtp command ,i cant find how to use command to play with gnugo,i already installed gnugo and can play it in gogui ,but i dont know how to setup the chapter agent in command,thanks for your help!

xhw98 commented 4 years ago

it seems that i need to set gnugo.exe in command like this?"C:\Program Files (x86)\GoGui\gogui-twogtp.exe" -black "python play_local gtp policy --read-file=tmp\savedmodel" -white "C:\gnugo\gnugo --mode gtp --level 0" -size 19 -komi 7.5 -verbose -auto

xhw98 commented 4 years ago

when i run the play_local.py,it rasied like this : Traceback (most recent call last): File "D:/ADWA/allenxxx-deep_learning_and_the_game_of_go-master/deep_learning_and_the_game_of_go/code/dlgo/gtp/play_local.py", line 152, in handicap=0, opponent='pachi', ) File "D:/ADWA/allenxxx-deep_learning_and_the_game_of_go-master/deep_learning_and_the_game_of_go/code/dlgo/gtp/play_local.py", line 37, in init cmd, stdin=pipe, stdout=pipe # <5> it means i dont set up opponet bot rightly?

xhw98 commented 4 years ago

FileNotFoundError

maxpumperla commented 4 years ago

right, you need to install pachi as well to make that work.