MuGo
MuGo copied to clipboard
About how to play MuGo
At running
python main.py gtp policy --read-file=saved_models/20170718'
it appeared that
AttributeError: module 'gtp' has no attribute 'Engine' .
Besides, when I ran the code `gogui-twogtp -black 'python main.py gtp policy --read-file=saved_models/20170718' -white 'gogui-display'-size 19 -komi 7.5 -verbose -auto in cmd it will be Unknown option --read-file=saved_models/20170718'
I will appreciate it if anyone could help me!
Have you run pip install yet? It seems like your installed modules are missing the right libraries.
Yes,i installed your .txt And i installed gtp from pypi. Before i ran Mugo i had changed cuDNN v5 into v5.1. I dont know whether it's the point of the question
After I uninstall gtp, it works!!! It said GTP engine ready. So what should I type in next? I found that whatever I type in there just is '? unknown command'.
What's more, when I ran
gogui-twogtp -black 'python main.py gtp policy --read-file=saved_models/20170718' -white 'gogui-display'-size 19 -komi 7.5 -verbose -auto
it seems that there is still something wrong. Here is the code,
Unknown option --read-file=saved_models/20170718'
And I found another quesqion...
gogui -size 19 -program "$TWOGTP" -computer-both -auto File "stdin", line 1 gogui -size 19 -program "$TWOGTP" -computer-both -auto ^(point to 19) SyntaxError: invalid syntax
I have came across with the same issue with KamiYin. Why will this happen?
As mentioned above, it's because there are two libraries named "gtp.py", which have different methods and classes. One of them works with MuGo, the other one doesn't.
Your issue seems to be with quoting rules in windows cmd shell. I'm developing on a Mac/Ubuntu so I'm not sure what the correct quoting rules are. The command python main.py gtp policy --read-file=saved_models/20170718 should start up the program with a GTP interface. Any GTP-compliant UI should work here; you may want to try something besides gogui on windows.
Why?I also encounter the same problem.
pip install pygtp