Skip to content
/ KataGo Public
forked from lightvector/KataGo

GTP engine and self-play learning in Go

License

Notifications You must be signed in to change notification settings

y-ich/KataGo

 
 

Repository files navigation

KataGo on Browser

KataGo powered by WebAssembly

Install

Convert a weight for TensorFlow.js

# NOTE: The specifying branch is IMPORTANT.
# NOTE: The below works on Apple Sicilon Mac. It does not work on Intel Mac.

git clone -b browser_v1.8.0 https://github.com/y-ich/KataGo.git # This branch support TensorFlow KataGo weights.
cd KataGo
mkdir models
cd models
curl -OL https://media.katagotraining.org/uploaded/networks/zips/kata1/kata1-b6c96-s175395328-d26788732.zip
unzip kata1-b6c96-s175395328-d26788732
cd ../tfjs
pipenv install
pipenv shell
make
cd ..

Build

git checkout browser
source em_build.sh

Start a web server

cd web
statikk --coi # or your favorite one liner server

Open Browser

for auto detection of backend,

http://127.0.0.1:8080/?config=gtp_auto.cfg&model=web_model

Enjoy!

by ICHIKAWA, Yuji

About

GTP engine and self-play learning in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.7%
  • Python 10.8%
  • Cuda 1.2%
  • HTML 1.1%
  • Shell 1.0%
  • C 0.9%
  • Other 1.3%