Git Product home page Git Product logo

alphajanggi's Introduction

AlphaJanggi

An implementation of the AlphaZero algorithm for Janggi (Korean chess)

'알파 장기'는 AlphaZero 알고리즘을 적용한 장기 인공지능 프로그램입니다.
사용 언어는 python이고 pytorch 라이브러리를 사용했습니다.
웹 사이트: https://alphajanggi.net

여러분의 참여로 이 프로그램의 장기 인공지능 실력을 높일 수 있습니다.
self-play.py 스크립트를 실행해 놓는 것만으로 알파 장기의 기력 향상에 도움을 줄 수 있습니다.

python self-play.py --cuda --numproc 3

   --numproc: 프로세스 갯수 (디폴트=1, 윈도우에서 gpu 사용시 적용 안됨)
   --cuda: nvidia 그래픽 카드 사용시

human_vs_ai.py는 텍스트 기반으로 인공지능과 대국할 수 있는 프로그램입니다.

python human_vs_ai.py --cuda -m best_1.pth

   --cuda: nvidia 그래픽 카드 사용시
   -m (모델 파일 이름): 사용하고자 하는 모델 파일(디폴트 best_model.pth)

윈도우 실행 파일과 모델 파일은 위 웹 사이트에서 받을 수 있습니다.

alphajanggi's People

Contributors

boardgame1 avatar

Stargazers

yeon929 avatar Ladofa avatar

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.