Add layer info for check_health. Print subsequent infos from the same scope with "-->" instead of "INFO:" for clarity.

This commit is contained in:
Tomasz Sobczyk
2020-10-24 11:58:53 +02:00
committed by nodchip
parent 8ddef320e6
commit c49ae541c4
3 changed files with 22 additions and 10 deletions

View File

@@ -141,7 +141,7 @@ namespace Learner
void print(const std::string& prefix, ostream& s) const
{
s
<< "INFO: "
<< "--> "
<< prefix << "_cross_entropy_eval = " << cross_entropy_eval / count
<< " , " << prefix << "_cross_entropy_win = " << cross_entropy_win / count
<< " , " << prefix << "_entropy_eval = " << entropy_eval / count
@@ -722,7 +722,7 @@ namespace Learner
if (psv.size() && test_loss_sum.count > 0.0)
{
cout << "INFO: norm = " << sum_norm
cout << "--> norm = " << sum_norm
<< " , move accuracy = " << (move_accord_count * 100.0 / psv.size()) << "%"
<< endl;