Comments (5)
You're completely right from a chess game perspective, the 180 degree rotation is what you would do when looking at the same game from the other side of the board. However from the game state symmetry perspective, you want to "flip" black into a white-like position, so the neural network doesn't have to learn the same position once for black and once for white. In this case, you have to do the horizontal mirroring to get the kings on the right.
As a beside, it's unclear how much (if any) benefit this provides to the training algorithm, but it can't hurt so why not? ¯_(ツ)_/¯
from chess-alpha-zero.
Good point!
from chess-alpha-zero.
Does it mean that the model is making prediction only when this is WHITE
to play?
from chess-alpha-zero.
Yep, this was a while ago but IIRC we actually removed the one-hot color input.
from chess-alpha-zero.
The more I think about it, and the 180-degree rotation needs to be done correctly, otherwise you will simulate games that does not make any senses? (they cannot corresponds to game in real life)
from chess-alpha-zero.
Related Issues (20)
- Compatible with Ampere GPUs?
- Requirements for Newer PCs - Changing tensorflow-gpu==1.15 to tensorflow HOT 1
- Module 'keras.backend' has no attribute 'observe_object_name' HOT 2
- need help understanding the network
- Gobang version
- Why is the engine so weak? HOT 1
- I just can't install the project.
- Evaluate move_model doesn't move model_dir (Windows)
- AttributeError: module 'chess.pgn' has no attribute 'scan_offsets' HOT 1
- Lot of errors in opt HOT 1
- AttributeError: '_thread._local' object has no attribute 'value'
- Addition for 50-moves rule and en passant
- Error with recent merge regarding sl proces
- After fresh SL training data not able to start training.
- Please, help me understand this. HOT 1
- policy_out dimension HOT 1
- Change the command for Supervised Learning in README.md
- AttributeError: 'Functional' object has no attribute '_make_predict_function' HOT 1
- Takes 30s to 40s per move!! and Why does it play only one opening as white? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chess-alpha-zero.