Skip to content

Commit fe36823

Browse files
nshmyrevdanpovey
authored andcommitted
[src] Fix bug causing wrong learning rate in RNNLM training with --stage option (kaldi-asr#2330)
1 parent 6f4fafb commit fe36823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/rnnlm/train_rnnlm.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ while [ $x -lt $num_iters ]; do
220220
fi
221221
)
222222

223-
num_splits_processed=$[num_splits_processed+this_num_jobs]
224223
# the error message below is not that informative, but $cmd will
225224
# have printed a more specific one.
226225
[ -f $dir/.error ] && echo "$0: error with diagnostics on iteration $x of training" && exit 1;
227226
fi
228227
x=$[x+1]
228+
num_splits_processed=$[num_splits_processed+this_num_jobs]
229229
done
230230

231231
wait # wait for diagnostic jobs in the background.

0 commit comments

Comments
 (0)