Commit 14d031b5 authored by Dan Povey's avatar Dan Povey
Browse files

trunk: fix to tools/extras/check_dependencies.sh to exit with error if...

trunk: fix to tools/extras/check_dependencies.sh to exit with error if dependencies not met on non-(Debian/RedHat) systems.  Add more verbose output to raw-fmllr code

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4337 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 5f634032
......@@ -372,6 +372,15 @@ void FmllrRawAccs::Update(const FmllrRawOptions &opts,
row,
&fmllr_mat);
}
if (GetVerboseLevel() >= 2) {
double cur_auxf = GetAuxf(simple_linear_stats, simple_quadratic_stats,
fmllr_mat),
auxf_change = cur_auxf - auxf_orig;
KALDI_VLOG(2) << "Updating raw fMLLR: objf improvement per frame was "
<< (auxf_change / this->count_) << " over "
<< this->count_ << " frames, by the " << iter
<< "'th iteration";
}
}
double auxf_final = GetAuxf(simple_linear_stats, simple_quadratic_stats,
fmllr_mat),
......
#!/bin/bash
# at some point we could try to add packages for Cywgin or macports(?) to this
# script.
redhat_packages=
debian_packages=
......@@ -75,8 +77,16 @@ if which yum >&/dev/null; then
fi
fi
if [ ! -z "$debian_packages" ]; then
# If the list of packages to be installed is nonempty,
# we'll exit with error status. Check this outside of
# hecking for yum or apt-get, as we want it to exit with
# error even if we're not on Debian or red hat.
status=1
fi
if ! $printed; then
if ! $printed && [ $status -eq 0 ]; then
echo "$0: all OK."
fi
exit $status
\ No newline at end of file
exit $status
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