Skip to content

Commit

Permalink
[src,egs] Small cosmetic fixes (#2074)
Browse files Browse the repository at this point in the history
qin authored and danpovey committed Dec 9, 2017
1 parent 87783fc commit 41806f6
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion egs/aishell/s5/conf/online_cmvn.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# configuration file for apply-cmvn-online, used in the script ../local/run_online_decoding.sh
# configuration file for apply-cmvn-online, used when invoking online2-wav-nnet3-latgen-faster.
5 changes: 3 additions & 2 deletions src/online2bin/online2-wav-nnet3-latgen-faster.cc
Original file line number Diff line number Diff line change
@@ -214,7 +214,7 @@ int main(int argc, char *argv[]) {
OnlineSilenceWeighting silence_weighting(
trans_model,
feature_info.silence_weighting_config,
decodable_opts.frame_subsampling_factor);
decodable_opts.frame_subsampling_factor);

SingleUtteranceNnet3Decoder decoder(decoder_opts, trans_model,
decodable_info,
@@ -258,8 +258,9 @@ int main(int argc, char *argv[]) {

decoder.AdvanceDecoding();

if (do_endpointing && decoder.EndpointDetected(endpoint_opts))
if (do_endpointing && decoder.EndpointDetected(endpoint_opts)) {
break;
}
}
decoder.FinalizeDecoding();

0 comments on commit 41806f6

Please sign in to comment.