Giter Site home page Giter Site logo

gmk0's Introduction

Gmk0

Learn playing gomoku from zero.

Result of training

Training is available. Test training has started. See improve.md.

  • After playing 150'000 games, Gmk0 is as strong as an ordinary alphabeta algorithm program.
  • But it's still far away from top level AI (3-27 Yixin16).

Python version

Run pysrc/Main.py to selfplay or play with human, or run pysrc/Trainer.py to train a nn from selfplay data.

require:

  • python3.6
  • numpy-1.13
  • tensorflow-1.4.0 or tensorflow-gpu-1.4.0

cpp version

cpp version is faster when selfplay. compile and run Gmk0.exe --mode selfplay --network "weight.txt" --playout 400 to generate selfplay data

image

The neural network need some library, see cppsrc/NN/README.md

gmk0's People

Contributors

fffasttime avatar syys96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gmk0's Issues

Bad mcts playout

Simlpe nn policy is stronger than mcts with playout.
threre should be bugs in mcts search.

nn error

tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value bn11/batch_normalization/moving_mean

运行Main.py出现的,tensorflow1.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.