nnue-pytorch
                                
                                 nnue-pytorch copied to clipboard
                                
                                    nnue-pytorch copied to clipboard
                            
                            
                            
                        Stockfish NNUE (Chess evaluation) trainer in Pytorch
Trying to run this under Anaconda with the supplied requrirements.txt, I am getting an exception. I have tried a couple different Anaconda releases, most recently Anaconda3-2023.03-1, based on Python 3.10....
The gradients for the loss on the weights is not needed during validation and test because no weight updates are made during those steps. I added the no_grad context manager:...
as introduced by @linrock for training small nets, see e.g. https://github.com/official-stockfish/Stockfish/commit/cb4a62311985f685ba6f5457851527a3289073e6 https://github.com/linrock/nnue-pytorch/tree/128-skipSimpleEval-lt950-torch-compile
### Summary Fixes multiple bugs in `visualize.py` that caused immediate crashes and blank plots. ### Changes - Corrected usage of `self.model.num_ls_buckets` instead of `self.model.feature_set.num_ls_buckets`. - Fixed out-of-bounds indexing error when...
when trying to convert from .nnue to .pt I get this error: ``` nnue-pytorch/serialize.py", line 292, in read_int32 raise Exception("Expected: %x, got %x" % (expected, v)) Exception: Expected: 1c1020f2, got...