Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Takes 30s to 40s per move!! and Why does it play only one opening as white? #99

Open
SecretProgrammer10 opened this issue Oct 7, 2020 · 3 comments

Comments

@SecretProgrammer10
Copy link

The engine takes around 30s to 40s per move. It also plays just one opening(English Opening) as white.
Is there any way to decrease the per move time? Any and all help would be appreciated.

@brianprichardson
Copy link
Collaborator

Yes. You can reduce the number of simulations here:
https://github.com/Zeta36/chess-alpha-zero/blob/master/src/chess_zero/config.py#L15
self.simulation_num_per_move = 1200
to a smaller value and it should play moves faster, but the moves won't be as "good".

@SecretProgrammer10
Copy link
Author

what would you suggest as the minimum system requirement for playing best moves and how many training epochs would be close to ideal?
Also i am thinking of modifying some parts like adding the opening and endgame tablebases an only restricting the calculations part to middlegames or when it deviates from the opening book. what do you think of the idea?

@brianprichardson
Copy link
Collaborator

Nobody knows the answers to any of those questions...experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants