Make dnn_trainer print the minibatch size to ostream (#2236)

This commit is contained in:
Adrià Arrufat 2020-11-17 12:17:29 +09:00 committed by GitHub
parent 375f117222
commit 820fd353d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1372,6 +1372,7 @@ namespace dlib
out << " get_train_one_step_calls(): " << trainer.get_train_one_step_calls() << endl;
out << " synchronization file: " << trainer.get_synchronization_file() << endl;
out << " trainer.get_solvers()[0]: " << trainer.get_solvers()[0] << endl;
out << " mini batch size: " << trainer.get_mini_batch_size() << endl;
auto sched = trainer.get_learning_rate_schedule();
if (sched.size() != 0)
{