diff --git a/Makefile b/Makefile index 76238d2..58f6901 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ OBJ_DIR=build MOLY_DIR=src CXX=clang++ -DEFAULT_NET_NAME=paramsHl64.bin +DEFAULT_NET_NAME=params.bin DEFAULT_EXE = $(OBJ_DIR)/Molybdenum DATAGEN_EXE = $(OBJ_DIR)/Datagen diff --git a/src/Nets/params.bin b/src/Nets/params.bin index 264600f..a6e3fea 100644 Binary files a/src/Nets/params.bin and b/src/Nets/params.bin differ diff --git a/src/nnue.cpp b/src/nnue.cpp index bde1ba9..7b08a54 100644 --- a/src/nnue.cpp +++ b/src/nnue.cpp @@ -59,7 +59,7 @@ void Net::initAccumulator(std::array &bitboards) { int Net::calculate(Color c) { float out = bias2[0]; - std::array output = bias1; + std::array output = bias1; for (int n = 0; n < L1_SIZE; n++) { for (int m = 0; m < L2_SIZE; m++) { diff --git a/src/nnue.h b/src/nnue.h index 04cdf6a..4a4afbc 100644 --- a/src/nnue.h +++ b/src/nnue.h @@ -13,8 +13,8 @@ enum Toggle { }; static const int INPUT_SIZE = 12 * 64; -static const int L1_SIZE = 64; -static const int L2_SIZE = 8; +static const int L1_SIZE = 256; +static const int L2_SIZE = 4; static const int OUT_SIZE = 1; struct Weights {