mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
8474368ed5
commit
178ad498ad
@ -20,7 +20,7 @@ token_type=char
|
||||
type=sound
|
||||
scp=wav.scp
|
||||
speed_perturb="0.9 1.0 1.1"
|
||||
stage=0
|
||||
stage=1
|
||||
stop_stage=5
|
||||
|
||||
# feature configuration
|
||||
@ -69,12 +69,17 @@ if [ ${stage} -le -1 ] && [ ${stop_stage} -ge -1 ]; then
|
||||
fi
|
||||
|
||||
if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
|
||||
# echo "stage 0: Data preparation"
|
||||
# # Data preparation
|
||||
# local/wenetspeech_data_prep.sh $raw_data $feats_dir
|
||||
echo "stage 0: Data preparation"
|
||||
# Data preparation
|
||||
local/wenetspeech_data_prep.sh $raw_data $feats_dir
|
||||
mkdir $feats_dir/data
|
||||
mv $feats_dir/$train_set $feats_dir/data/$train_set
|
||||
for x in $test_sets; do
|
||||
mv $feats_dir/$x $feats_dir/data/
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
|
||||
echo "stage 1: Feature and CMVN Generation"
|
||||
utils/compute_cmvn.sh ${feats_dir}/data/${train_set} --cmd "$train_cmd" --nj $nj --feats_dim ${feats_dim} --config $asr_config --scale 0.1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user