This repository contains the code used to train NNUE style networks for the Marvin chess engine.
python3 -m venv env
source env/bin/activate
pip install python-chess torch tensorboard
This requires the Clang compiler.
make
python train.py training.bin validation.bin
tensorboard --logdir=logs
Then, go to http://localhost:6006/
- Training code is based on https://github.com/glinscott/nnue-pytorch
- Ranger optimizer is taken from https://github.com/lessw2020/Ranger-Deep-Learning-Optimizer