mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 12:06:22 +08:00
Merge remote-tracking branch 'remotes/origin/master' into trainer
This commit is contained in:
@@ -1168,7 +1168,7 @@ namespace Learner
|
||||
<< " detect_draw_by_insufficient_mating_material = " << detect_draw_by_insufficient_mating_material << endl;
|
||||
|
||||
// Show if the training data generator uses NNUE.
|
||||
Eval::verify_NNUE();
|
||||
Eval::NNUE::verify();
|
||||
|
||||
Threads.main()->ponder = false;
|
||||
|
||||
|
||||
@@ -1841,7 +1841,7 @@ namespace Learner
|
||||
|
||||
if (use_convert_plain)
|
||||
{
|
||||
Eval::init_NNUE();
|
||||
Eval::NNUE::init();
|
||||
cout << "convert_plain.." << endl;
|
||||
convert_plain(filenames, output_file_name);
|
||||
return;
|
||||
@@ -1849,7 +1849,7 @@ namespace Learner
|
||||
|
||||
if (use_convert_bin)
|
||||
{
|
||||
Eval::init_NNUE();
|
||||
Eval::NNUE::init();
|
||||
cout << "convert_bin.." << endl;
|
||||
convert_bin(
|
||||
filenames,
|
||||
@@ -1870,7 +1870,7 @@ namespace Learner
|
||||
|
||||
if (use_convert_bin_from_pgn_extract)
|
||||
{
|
||||
Eval::init_NNUE();
|
||||
Eval::NNUE::init();
|
||||
cout << "convert_bin_from_pgn-extract.." << endl;
|
||||
convert_bin_from_pgn_extract(
|
||||
filenames,
|
||||
@@ -1938,7 +1938,7 @@ namespace Learner
|
||||
cout << "init.." << endl;
|
||||
|
||||
// Read evaluation function parameters
|
||||
Eval::init_NNUE();
|
||||
Eval::NNUE::init();
|
||||
|
||||
Threads.main()->ponder = false;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ void MultiThink::go_think()
|
||||
// Read evaluation function, etc.
|
||||
// In the case of the learn command, the value of the evaluation function may be corrected after reading the evaluation function, so
|
||||
// Skip memory corruption check.
|
||||
Eval::init_NNUE();
|
||||
Eval::NNUE::init();
|
||||
|
||||
// Call the derived class's init().
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user