| | |
| | | # MIT License (https://opensource.org/licenses/MIT) |
| | | |
| | | # method2, inference from local model |
| | | |
| | | export MODELSCOPE_CACHE="/home/boying/IdeaProjects/FunASRxl-0313/models/" |
| | | # for more input type, please ref to readme.md |
| | | input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav" |
| | | |
| | | output_dir="./outputs/debug" |
| | | output_dir="/home/boying/IdeaProjects/FunASRxl-0313/exp/paraformer_train/debug" |
| | | |
| | | workspace=`pwd` |
| | | |
| | |
| | | cmvn_file="${local_path}/am.mvn" |
| | | |
| | | config="config.yaml" |
| | | init_param="${local_path}/model.pt" |
| | | init_param="${local_path}/model.pt.best" |
| | | |
| | | python -m funasr.bin.inference \ |
| | | --config-path "${local_path}" \ |