Code Monkey home page Code Monkey logo

irelia's Introduction

irelia

under construction...

review site(Version 1, not alpha go zero)

It is a review site that recorded a match between learned AIs with dataset, and it is the first version that use Q-table learning(dynamic state list).

It is not an algorithm of alpha go zero.

http://115.68.23.80:81/web/review.html

Prerequisite

  • pip install colorama
  • ...

self-play and train with no dataset

python self_play_and_train.py --save_dir="your path to save your model and self-play dataset" --max_step=100 --max_episode=10000 --max_simulation=200 --episode_interval_to_train=10 --print_mcts_tree=False --print_mcts_search=False

train with dataset

download the dataset

mkdir dataset
cd dataset
wget http://img.hovits.com/korean-chess-records-dataset.txt

convert the dataset to the real dataset for training

python parse_dataset.py --dataset_dir="the path you downloaded"

train with dataset

python optimizer.py --dataset_dir="the path you converted" --save_dir="your path to save your model" --epoch=10 --num_model_layers=20 --batch_size=32

Play with trained AI with MCTS

python user_vs_trained_mcts.py --save_dir="the model dir you trained" --model_file_name="the model name you trained" --max_step=100 --max_episode=10000 --max_simulation=200 --print_mcts_tree=False --print_mcts_search=False

Trained AI's self-play with MCTS

python play_trained_mcts_vs_trained_mcts.py --save_dir="the model dir you trained" --model_file_name="the model name you trained" --max_step=100 --max_episode=10000 --max_simulation=200 --print_mcts_tree=False --print_mcts_search=False

Trained AI's self-play with no MCTS

python play_net_vs_net.py --save_dir="the model dir you trained" --model_file_name="the model name you trained" --max_step=100 --max_episode=10000 --max_simulation=200 --print_mcts_tree=False --print_mcts_search=False

irelia's People

Contributors

jireh-father avatar

Stargazers

 avatar  avatar  avatar Shanchuan Wan avatar woo jae avatar Shubham Pachori avatar  avatar  avatar xiaoerlageid avatar  avatar  avatar  avatar fun_dl avatar  avatar GyungMin Jeon avatar  avatar Apollo avatar  avatar whitelife avatar  avatar Seongmin Park avatar Byun Sang June avatar Youngmann Kim avatar flynn.park avatar Keon avatar 김어진 avatar Jimmy Moon avatar Byeongsoo Kim avatar  avatar

Watchers

DaeHee Kim avatar James Cloos avatar Byun Sang June avatar  avatar Youngmann Kim avatar Apollo avatar  avatar  avatar

irelia's Issues

How can I train it self?

I can't found single_play.py.
How can I start to train it self-mode?
And had you trained with alphago zero method and how about result?
Thanks.

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.