Merge remote-tracking branch 'remotes/origin/master' into trainer

This commit is contained in:
noobpwnftw
2020-09-23 18:43:54 +08:00
19 changed files with 304 additions and 107 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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();