summaryrefslogtreecommitdiff
path: root/training
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
commit7d391d8eb88d27c5637042fefe2d27e7b12f5587 (patch)
tree0d91ad86bdbed323793ed6eca6cd93801ac6d299 /training
parente2dd5a3acd550447193f105b0ba18354f64e76a4 (diff)
fix format
Diffstat (limited to 'training')
-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);