kenjyoung / Neurohex

13 stars 3 forks source link

request for better install instructions #2

Open Twixtfanatic opened 7 years ago

Twixtfanatic commented 7 years ago

My OS is Linux Mint with Mate 64-bit. I installed numpy and theano using miniconda. I used git clone to download Neurohex into a subdirectory of my home directory. How do I build Neurohex? Maybe you could write a text INSTALL file for clueless users such as myself? Or at least point me to whatever manual I should have read? Thanks for your time.

kenjyoung commented 7 years ago

Hi twixt, Very little installation should be necessary since everything is in python. The only thing you might have to do is run the following in the Neurohex home directory : python fix_network.py playerAgents/network.save playerAgents/network.save

This is because the way the network is saved is not totally independent of architecture and theano settings, this script should recompile it for your setup. After that you can go to the Neurohex/playerAgents directory and run: ./program

The program communicates in GTP so you can just try entering something like: genmove black

to see if it's working, to make actually playing against it easier you can download a GTP hex interface as detailed in the README. Hope this helps!