mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Change data file extension of nnue networks
move from .bin (used for polyglot books etc) to .nnue
This commit is contained in:
committed by
Joost VandeVondele
parent
2f459fb161
commit
5c616bc46b
@@ -1,4 +1,4 @@
|
|||||||
// Code for calculating NNUE evaluation function
|
// Code for calculating NNUE evaluation function
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@@ -42,7 +42,7 @@ namespace Eval::NNUE {
|
|||||||
AlignedPtr<Network> network;
|
AlignedPtr<Network> network;
|
||||||
|
|
||||||
// Evaluation function file name
|
// Evaluation function file name
|
||||||
std::string fileName = "nn.bin";
|
std::string fileName;
|
||||||
|
|
||||||
// Get a string that represents the structure of the evaluation function
|
// Get a string that represents the structure of the evaluation function
|
||||||
std::string GetArchitectureString() {
|
std::string GetArchitectureString() {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ void init(OptionsMap& o) {
|
|||||||
o["Syzygy50MoveRule"] << Option(true);
|
o["Syzygy50MoveRule"] << Option(true);
|
||||||
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
o["SyzygyProbeLimit"] << Option(7, 0, 7);
|
||||||
o["Use NNUE"] << Option(false, on_use_nnue);
|
o["Use NNUE"] << Option(false, on_use_nnue);
|
||||||
o["EvalFile"] << Option("nn-c157e0a5755b.bin", on_eval_file);
|
o["EvalFile"] << Option("nn-c157e0a5755b.nnue", on_eval_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user