rayanramoul / arcane-chess Goto Github PK
View Code? Open in Web Editor NEW♕ A web based and Deep-Reinforcement-Learning-powered open source chess game.
♕ A web based and Deep-Reinforcement-Learning-powered open source chess game.
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.
In training, it sometimes chooses the same move twice in a row and it breaks the 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)))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.