summaryrefslogtreecommitdiff
path: root/training/crf
diff options
context:
space:
mode:
authorChris Dyer <cdyer@chriss-air.home>2013-11-30 22:05:08 -0500
committerChris Dyer <cdyer@chriss-air.home>2013-11-30 22:05:08 -0500
commit407b100cd3e4ae987504b53101151fba287ad999 (patch)
tree52dd02101cc9c2f6c87fdb7facceef0398635709 /training/crf
parent5f55de43762bbab3702edfee5ad3dc9c0a38db01 (diff)
fix format
Diffstat (limited to 'training/crf')
-rw-r--r--training/crf/mpi_adagrad_optimize.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/crf/mpi_adagrad_optimize.cc b/training/crf/mpi_adagrad_optimize.cc
index e1ee789c..39bd763e 100644
--- a/training/crf/mpi_adagrad_optimize.cc
+++ b/training/crf/mpi_adagrad_optimize.cc
@@ -387,7 +387,7 @@ int main(int argc, char** argv) {
}
ostringstream vv;
double minutes = (cur_time - start_time) / 60.0;
- vv << "total walltime=" << minutes << "min iter=" << iter << " minibatch=" << size_per_proc << " sentences/proc x " << size << " procs. num_feats=" << non_zeros(lambdas) << '/' << FD::NumFeats() << " passes_thru_data=" << (iter * size_per_proc / static_cast<double>(corpus.size()));
+ vv << "total walltime=" << minutes << " min iter=" << iter << " minibatch=" << size_per_proc << " sentences/proc x " << size << " procs. num_feats=" << non_zeros(lambdas) << '/' << FD::NumFeats() << " passes_thru_data=" << (iter * size_per_proc / static_cast<double>(corpus.size()));
const string svv = vv.str();
cerr << svv << endl;
Weights::WriteToFile(fname, lambdas, true, &svv);