Code Monkey home page Code Monkey logo

arcane-chess's Introduction

Rayan Samy Ramoul

Research Engineer

Computer Vision / Deep Learning / Large Language Models (LLM) /Reinforcement Learning (RL) / Software Engineering

arcane-chess's People

Contributors

rayanramoul avatar

Stargazers

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

Watchers

 avatar  avatar

arcane-chess's Issues

Error when training ?

Hi, I've got a bug when training that is:
Traceback (most recent call last):
File "learning/train.py", line 174, in
board.push(chess.Move.from_uci(str(god_damn_move)))
File "/home/tin_nguyen/TIN_NGUYEN/Arcane-Chess/env/lib/python3.6/site-packages/chess/init.py", line 1987, in push
assert piece_type is not None, f"push() expects move to be pseudo-legal, but got {move} in {self.board_fen()}"
AssertionError: push() expects move to be pseudo-legal, but got e1f2 in rnb2bnr/1qk1p3/1p3p2/pp4pp/N3P1PP/1PP2P2/P2PNK2/1RB2R2

Could you fix this ? Thanks.

Error in training

Hey, It says error in Line 16
TypeError: ('Keyword argument not understood:', 'init')
Its basically on this line:
model.add(Dense(20, input_shape=(65,) , init='uniform', activation='relu'))

Edit: fixed this, its called kernel_initializer now:

New error at the end of the first training game:
AssertionError: push() expects move to be pseudo-legal, but got g2e2 in rnb2b1r/4k3/pp5p/1q2pPp1/1P1N3P/4P1n1/1RP1R3/2B1KB2

This is at line 174:
board.push(chess.Move.from_uci(str(god_damn_move)))

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.