Commit fa7abd2b authored by Xiaohui Zhang's avatar Xiaohui Zhang
Browse files

updated train_pnorm_ensemble.sh

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4571 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 3f89fab7
......@@ -241,6 +241,15 @@ echo "$0: (while reducing learning rate) + (with constant learning rate)."
finish_add_layers_iter=$[$num_hidden_layers*$add_layers_period]
mix_up_iter=$[($num_iters + $finish_add_layers_iter)/2]
if [ $num_threads -eq 1 ]; then
if ! cuda-compiled; then
echo "$0: WARNING: you are running with one thread but you have not compiled"
echo " for CUDA. You may be running a setup optimized for GPUs. If you have"
echo " GPUs and have nvcc installed, go to src/ and do ./configure; make"
exit
fi
fi
x=0
while [ $x -lt $num_iters ]; do
......
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