嘉渊
2023-04-25 a12f5382e978a8aef124be2192ae522745db5df1
update
1个文件已修改
8 ■■■■ 已修改文件
egs/aishell/paraformer/run.sh 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
egs/aishell/paraformer/run.sh
@@ -21,14 +21,12 @@
token_type=char
scp=wav.scp
type=sound
stage=1
stop_stage=1
stage=2
stop_stage=2
# feature configuration
feats_dim=80
sample_frequency=16000
nj=64
speed_perturb="0.9,1.0,1.1"
# data
raw_data=
@@ -104,9 +102,7 @@
    echo "</s>" >> ${token_list}
    utils/text2token.py -s 1 -n 1 --space "" ${feats_dir}/data/train/text | cut -f 2- -d" " | tr " " "\n" \
        | sort | uniq | grep -a -v -e '^\s*$' | awk '{print $0}' >> ${token_list}
    num_token=$(cat ${token_list} | wc -l)
    echo "<unk>" >> ${token_list}
    vocab_size=$(cat ${token_list} | wc -l)
fi
# Training Stage