Commit 3dbedcc5 authored by Dan Povey's avatar Dan Povey
Browse files

Minor fixes to error messages.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@481 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent f6074cdd
...@@ -32,7 +32,7 @@ int main(int argc, char *argv[]) { ...@@ -32,7 +32,7 @@ int main(int argc, char *argv[]) {
"Accumulate stats for GMM training (reading in posteriors).\n" "Accumulate stats for GMM training (reading in posteriors).\n"
"Usage: gmm-acc-stats [options] <model-in> <feature-rspecifier> <posteriors-rspecifier> <stats-out>\n" "Usage: gmm-acc-stats [options] <model-in> <feature-rspecifier> <posteriors-rspecifier> <stats-out>\n"
"e.g.: \n" "e.g.: \n"
" gmm-acc-stats 1.mdl 1.ali scp:train.scp ark:1.post 1.acc\n"; " gmm-acc-stats 1.mdl 1.post scp:train.scp ark:1.post 1.acc\n";
ParseOptions po(usage); ParseOptions po(usage);
bool binary = false; bool binary = false;
......
...@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { ...@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
n_done++; n_done++;
} }
KALDI_LOG << "After processing all lattices: average log-likelihood = " KALDI_LOG << "Overall average log-like/frame is "
<< (total_like/total_time) << " over " << total_time << (total_like/total_time) << " over " << total_time
<< " frames."; << " frames.";
KALDI_LOG << "Done " << n_done << " lattices."; KALDI_LOG << "Done " << n_done << " lattices.";
......
...@@ -249,7 +249,7 @@ int main(int argc, char *argv[]) { ...@@ -249,7 +249,7 @@ int main(int argc, char *argv[]) {
if (po.NumArgs() != 4) { if (po.NumArgs() != 4) {
po.PrintUsage(); po.PrintUsage();
KALDI_EXIT << "Wrong arguments!"; exit(1);
} }
std::string wordsymtab_filename = po.GetArg(1), std::string wordsymtab_filename = po.GetArg(1),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment