diff --git a/.gitignore b/.gitignore index e1b92a315..3e7b86626 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # emacs saves [#]*[#] +.[#]* *~ # Compiled Dynamic libraries diff --git a/egs/wsj/s5/local/online/run_nnet2.sh b/egs/wsj/s5/local/online/run_nnet2.sh index eac76b621..6ee3f004a 100755 --- a/egs/wsj/s5/local/online/run_nnet2.sh +++ b/egs/wsj/s5/local/online/run_nnet2.sh @@ -31,14 +31,14 @@ If you want to use GPUs (and have them), go to src/, and configure and make on a where "nvcc" is installed. Otherwise, call this script with --use-gpu false EOF fi - parallel_opts="-l gpu=1" + parallel_opts="--gpu 1" num_threads=1 minibatch_size=512 # the _a is in case I want to change the parameters. else num_threads=16 minibatch_size=128 - parallel_opts="-pe smp $num_threads" + parallel_opts="--num-threads $num_threads" fi local/online/run_nnet2_common.sh --stage $stage || exit 1;