mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
Bring back info for finished evalsave. Update tests with the new message.
This commit is contained in:
@@ -247,7 +247,10 @@ namespace Eval::NNUE {
|
||||
// save merit function parameters to a file
|
||||
void save_eval(std::string dir_name) {
|
||||
auto eval_dir = Path::combine(Options["EvalSaveDir"], dir_name);
|
||||
std::cout << "INFO (save_eval): Saving current evaluation file in " << eval_dir << std::endl;
|
||||
|
||||
auto out = sync_region_cout.new_region();
|
||||
|
||||
out << "INFO (save_eval): Saving current evaluation file in " << eval_dir << std::endl;
|
||||
|
||||
// mkdir() will fail if this folder already exists, but
|
||||
// Apart from that. If not, I just want you to make it.
|
||||
@@ -263,5 +266,6 @@ namespace Eval::NNUE {
|
||||
#ifndef NDEBUG
|
||||
assert(result);
|
||||
#endif
|
||||
out << "INFO (save_eval): Saving current evaluation file in " << eval_dir << std::endl;
|
||||
}
|
||||
} // namespace Eval::NNUE
|
||||
@@ -129,7 +129,7 @@ cat << EOF > learn01.exp
|
||||
send "isready\n"
|
||||
send "learn targetdir training_data epochs 1 sfen_read_size 100 thread_buffer_size 10 batchsize 100 use_draw_in_training 1 use_draw_in_validation 1 lr 1 eval_limit 32000 nn_batch_size 30 newbob_decay 0.5 eval_save_interval 30 loss_output_interval 10 validation_set_file_name validation_data/validation_data.bin\n"
|
||||
|
||||
expect "save_eval() finished."
|
||||
expect "INFO (save_eval): Saving current evaluation file in"
|
||||
|
||||
send "quit\n"
|
||||
expect eof
|
||||
|
||||
Reference in New Issue
Block a user