Merge pull request #1849 from SmileGoat/add_fbank

fix run_fbank.sh typo & copyright issue
pull/1856/head
Hui Zhang 3 years ago committed by GitHub
commit 6f7c3d6c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ set -e
. path.sh
nj=40
stage=4
stage=0
stop_stage=5
. utils/parse_options.sh
@ -156,10 +156,10 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then
--use_fbank=true \
--to_float32=false \
--param_path=$model_dir/avg_5.jit.pdiparams \
--word_symbol_table=$graph_dir/words.txt \
--word_symbol_table=$wfst/words.txt \
--model_output_names=softmax_0.tmp_0,tmp_5,concat_0.tmp_0,concat_1.tmp_0 \
--model_cache_shapes="5-1-2048,5-1-2048" \
--graph_path=$graph_dir/TLG.fst --max_active=7500 \
--graph_path=$wfst/TLG.fst --max_active=7500 \
--acoustic_scale=1.2 \
--result_wspecifier=ark,t:./result_fbank_recognizer

@ -1,5 +1,5 @@
// Copyright (c) 2022 PaddlePaddle Wenet Authors. All Rights Reserved.
//
// Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
// 2022 PaddlePaddle Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

@ -1,5 +1,5 @@
// Copyright (c) 2022 PaddlePaddle Wenet Authors. All Rights Reserved.
//
// Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
// 2022 PaddlePaddle Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

@ -1,5 +1,5 @@
// Copyright (c) 2022 PaddlePaddle Wenet Authors. All Rights Reserved.
//
// Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
// 2022 PaddlePaddle Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

@ -1,5 +1,5 @@
// Copyright (c) 2022 PaddlePaddle Wenet Authors. All Rights Reserved.
//
// Copyright (c) 2020 Mobvoi Inc (Binbin Zhang)
// 2022 PaddlePaddle Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

Loading…
Cancel
Save