A collection of tools for local and distributed tuning of chess engines.
Project description
Chess Tuning Tools
A collection of tools for local and distributed tuning of chess engines.
Free software: Apache Software License 2.0
Documentation: https://chess-tuning-tools.readthedocs.io.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chess-tuning-tools-0.1.0.tar.gz.
File metadata
- Download URL: chess-tuning-tools-0.1.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd7b7a5d237ddadcf9835fb49de3264879a4b555169dfb8d33321cbba50f2921
|
|
| MD5 |
f17b9a78035497ab285c42a46d41ccb0
|
|
| BLAKE2b-256 |
b1fe19f6c4773e53a7ffed8207736a5992bdf5e6eb17f76a995c4507223ffab8
|
File details
Details for the file chess_tuning_tools-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: chess_tuning_tools-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1074f5d2d0e7abf69eb637d60804bec9180f49c1ec9083f278b3c768b59a76ea
|
|
| MD5 |
c320249292ad4773a117a88fbefb7bc5
|
|
| BLAKE2b-256 |
34d09582e9f96513bda42cc6a888a4cff2c691d0c3b8c555083f0456f3e4833c
|