erikbern / deep-pink

Deep Pink is a chess AI that learns to play chess using deep learning.
http://erikbern.com/2014/11/29/deep-learning-for-chess/
811 stars 159 forks source link

Fix integration with sunfish 2016 #13

Closed thomasahle closed 7 years ago

thomasahle commented 7 years ago

The newer versions of sunfish use seconds rather than max-nodes, which breaks the api deep-pink is using. This updates deep-pink to match the sunfish function signature.

The pull-request also moves some functions from train.py to a new module load.py. These are functions which are used by play.py, and don't require scikit-learn or h5py. Hence keeping them in train.py prevents playing deep-pink without these modules.

erikbern commented 7 years ago

wow thanks!