trunk: bugfix --use-gpu-id -> --use-gpu

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@3201 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Karel Vesely 2013-11-22 10:19:57 +00:00
Родитель b1602fd846
Коммит b67f88bef4
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -19,7 +19,7 @@ max_mem=20000000 # This will stop the processes getting too large.
# This is in bytes, but not "real" bytes-- you have to multiply
# by something like 5 or 10 to get real bytes (not sure why so large)
# End configuration section.
use_gpu_id=-1 # disable gpu
use_gpu=no # yes|no|optional
parallel_opts="-pe smp 2"
echo "$0 $@" # Print the command line for logging
@ -108,7 +108,7 @@ if [ -f $srcdir/delta_order ]; then
feats="$feats add-deltas --delta-order=$delta_order ark:- ark:- |"
fi
# Finally add feature_transform and the MLP
feats="$feats nnet-forward --feature-transform=$feature_transform --no-softmax=true --class-frame-counts=$class_frame_counts --use-gpu-id=$use_gpu_id $nnet ark:- ark:- |"
feats="$feats nnet-forward --feature-transform=$feature_transform --no-softmax=true --class-frame-counts=$class_frame_counts --use-gpu=$use_gpu $nnet ark:- ark:- |"
echo "$0: generating denlats from data '$data', putting lattices in '$dir'"