Skip to content

Commit ad09b19

Browse files
authored
[build,src] Change to error message; update kaldi_lm install script (and kaldi_lm) to fix compile issue (#3581)
1 parent 09abdda commit ad09b19

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/nnet3/nnet-normalize-component.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ void BatchNormComponent::ComputeDerived() {
214214

215215
if (count_ == 0.0) {
216216
KALDI_WARN << "Test-mode is set but there is no data count. "
217-
"Creating random counts. This only makes sense "
218-
"in unit-tests (or compute_prob_*.0.log). If you see this "
217+
"Creating random counts. This is NOT A PROBLEM if the message "
218+
"appears in unit-tests or in compute_prob_*.0.log. If you see this "
219219
"elsewhere, something is very wrong.";
220220
count_ = 1.0;
221221
stats_sum_.SetRandn();

tools/extras/install_kaldi_lm.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ fi
1515
echo "Installing kaldi_lm"
1616

1717
if [ ! -d "kaldi_lm" ]; then
18-
wget http://www.danielpovey.com/files/kaldi/kaldi_lm.tar.gz || exit 1;
19-
tar -xvzf kaldi_lm.tar.gz || exit 1;
18+
git clone https://github.com/danpovey/kaldi_lm.git || exit 1
2019
fi
2120

2221
cd kaldi_lm

0 commit comments

Comments
 (0)