Skip to content
Snippets Groups Projects
Commit 811d2948 authored by Daniel Povey's avatar Daniel Povey
Browse files

Merge pull request #147 from naxingyu/add-log-prob-per-frame-nnet3

add log-prob-per-frame in nnet3 training log
parents 2cbe7dbb de4be5f9
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,9 @@ void ObjectiveFunctionInfo::PrintStatsForThisPhase(
bool ObjectiveFunctionInfo::PrintTotalStats(const std::string &name) const {
KALDI_LOG << "Overall average objective function for '" << name << "' is "
<< (tot_objf / tot_weight) << " over " << tot_weight << " frames.";
KALDI_LOG << "[this line is to be parsed by a script:] "
<< "log-prob-per-frame="
<< (tot_objf / tot_weight);
return (tot_weight != 0.0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment