bmdanielsson / nnue-trainer

PyTorch trainer for NNUE style neural networks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This repository contains the code used to train NNUE style networks for the Marvin chess engine.

Setup

python3 -m venv env
source env/bin/activate
pip install python-chess torch tensorboard

Building the data loader

This requires the Clang compiler.

make

Basic training steps

python train.py training.bin validation.bin

Logging

tensorboard --logdir=logs

Then, go to http://localhost:6006/

Acknowledgements

About

PyTorch trainer for NNUE style neural networks.


Languages

Language:Python 57.0%Language:C 41.3%Language:Makefile 1.7%