Skip to content

Azen-Huang/KataGo-Outer-Open-Gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KataGo-Outer-Open-Gomoku

using KataGo method to train Outer-Open Gomoku.

Features

  • Outer-Open Gomoku Gomoku
  • Multi-threading Tree/Root Parallelization with Virtual Loss and LibTorch
  • Gomoku, MCTS and Network Infer are written in C++
  • SWIG for Python C++ extension

Args

Edit config.py

Packages

Run

# Compile Python extension
mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH=path/to/libtorch -DPYTHON_EXECUTABLE=path/to/python -DCMAKE_BUILD_TYPE=Release
make -j10

# Run
cd ../test
python learner_test.py train # train model
python learner_test.py play  # play with human

#Ludii
cd test
python server.py
// to open server, and you also need to open the Ludii client

About

using KataGo method to train Outer-Open Gomoku.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published