嘉渊
2023-04-26 3c03e1fa3acef03cdd570c518fc55a8d58886e15
egs/aishell/paraformer/run.sh
@@ -3,7 +3,7 @@
. ./path.sh || exit 1;
# machines configuration
CUDA_VISIBLE_DEVICES="0,1"
CUDA_VISIBLE_DEVICES="2,3"
gpu_num=2
count=1
gpu_inference=true  # Whether to perform gpu decoding, set false for cpu decoding
@@ -21,7 +21,7 @@
token_type=char
scp=wav.scp
type=sound
stage=2
stage=1
stop_stage=3
# feature configuration
@@ -33,7 +33,7 @@
data_url=www.openslr.org/resources/33
# exp tag
tag="exp1"
tag="exp2"
. utils/parse_options.sh || exit 1;
@@ -84,7 +84,6 @@
    done
fi
feat_train_dir=${feats_dir}/${dumpdir}/train; mkdir -p ${feat_train_dir}
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
    echo "stage 1: Feature and CMVN Generation"
    utils/compute_cmvn.sh --cmd "$train_cmd" --nj $nj --feats_dim ${feats_dim} ${feats_dir}/data/${train_set}