Skip to content

Commit

Permalink
[src] Fix bug causing wrong learning rate in RNNLM training with --st…
Browse files Browse the repository at this point in the history
…age option (kaldi-asr#2330)
  • Loading branch information
nshmyrev authored and danpovey committed Apr 3, 2018
1 parent 6f4fafb commit fe36823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rnnlm/train_rnnlm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@ while [ $x -lt $num_iters ]; do
fi
)

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

wait # wait for diagnostic jobs in the background.
Expand Down

0 comments on commit fe36823

Please sign in to comment.