Add helpful logging

This commit is contained in:
Juha Reunanen 2019-11-09 08:51:01 +02:00
parent d4f6e5e538
commit e79a3cc0fb
1 changed files with 3 additions and 0 deletions

View File

@ -1047,7 +1047,10 @@ namespace dlib
// might be better off giving up at this learning rate, and trying a
// lower one instead.
if (prob_loss_increasing_thresh >= prob_loss_increasing_thresh_max_value)
{
std::cout << "(and while at it, also shrinking the learning rate)" << std::endl;
learning_rate = learning_rate_shrink * learning_rate;
}
}
else
{