mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Change data file extension of nnue networks
move from .bin (used for polyglot books etc) to .nnue
This commit is contained in:
parent
2f459fb161
commit
5c616bc46b
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue