Skip to main content

A collection of tools for local and distributed tuning of chess engines.

Project description

Chess Tuning Tools

https://img.shields.io/pypi/v/chess-tuning-tools.svg https://img.shields.io/travis/kiudee/chess-tuning-tools.svg Documentation Status

A collection of tools for local and distributed tuning of chess engines.

Features

  • TODO

Starting the tuning client

In order to be able to start the tuning client, first create a python environment with the packages psycopg2 and numpy. Using anaconda this could be done by typing:

conda create -n tuning -c conda-forge numpy psycopg2 pytz click emcee
pip install git+https://github.com/kiudee/bayes-skopt

Furthermore, you need to have cutechess-cli in the path. The tuning client will use it to run matches.

Then after extracting the current .zip package into the folder chess-tuning-tools, make sure that you have the following directory structure:

chess-tuning-tools/
|---- networks/
|     |---- 58613
|     |---- other networks
|---- openings/
|     |---- ...
|     |---- openings-6ply-1000.pgn
|     |---- ...
|---- tune/
|     |---- db_workers/
|     |     |---- __init__.py
|     |     |---- tuning_client.py
|     |     |---- tuning_server.py
|     |     |---- utils.py
|     |---- __init__.py
|     |---- io.py
|---- dbconfig.json
|---- lc0[.exe]
|---- sf[.exe]

Finally, the tuning client can be started as follows:

cd path/to/chess-tuning-tools
conda activate tuning
python -m tune.cli run_client dbconfig.json

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-01-31)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chess-tuning-tools-0.1.0.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

chess_tuning_tools-0.1.0-py2.py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page