-
Notifications
You must be signed in to change notification settings - Fork 1.9k
release models
Jackwaterveg edited this page Jul 13, 2022
·
2 revisions
cd examples/aishell/asr1
mkdir for_release
cd for_release
ln -s ../utils/generate_infer_yaml.py
mkdir conf
mkdir data
cp ../conf/conformer.yaml conf/
cp ../conf/preprocess.yaml conf/
mkdir -p conf/tuning
cp ../conf/tuninig/decode.yaml conf/tuning
cp ../data/mean_std.json data/
cp -r ../data/lang_char data/
mkdir -p exp/conformer/checkpoints
cp -r ../exp/conformer/checkpoints/avg_30* exp/conformer/checkpoints/
python generate_infer_yaml.py --cfg_pth conf/conformer.yaml --dcd_pth conf/tuning/decode.yaml --vb_pth data/lang_char/vocab.txt --cmvn_pth data/mean_std.json --save_pth model.yaml --pre_pth conf/preprocess.yaml
tar czvf asr1_conformer_aishell_ckpt_1.0.1.model.tar.gz model.yaml conf data/ exp/