an AI agent capable of playing the game of Gomoku by implementing a search algorithm
- python 3
- tensorflow 1.X is available now (policy_value_net.py)
- pytorch framework (policy_value_net_pytorch.py) is under construction
Open a terminal and run
python train.py
Open a terminal and run
python start.py
Open a terminal and run
python game.py
command for a suitable environment
run
conda create -n tf python=3.6
We recommend you to visit https://pypi.tuna.tsinghua.edu.cn/simple/tensorflow/ and download one of the following 3 according your device.
tensorflow-1.9.0-cp36-cp36m-macosx_10_11_x86_64.whl
tensorflow-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
tensorflow-1.9.0-cp36-cp36m-win_amd64.whl
finish downloading, run
pip install
+ file path in your device
e.g.run
pip install D:\Download\myTensorflowWHL\tensorflow-1.9.0-cp36-cp36m-win_amd64.whl
run
conda activate tf
or you can try
conda.bat activate tf
after using, run
conda deactivate tf
or you can try
conda.bat deactivate tf
if you no longer need this environment, run
conda remove -n tf --all
run
pip install numpy==1.22 -i https://pypi.tuna.tsinghua.edu.cn/simple/
since tensorflow-intel 2.13.0 requires numpy<=1.24.3,>=1.22, while scipy 1.6.2 requires numpy<1.23.0,>=1.16.5