From 28ccfbfc51068a663a80764e14074df5edf2b5ba Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期五, 13 三月 2026 17:41:41 +0800
Subject: [PATCH] 提交

---
 examples/industrial_data_pretraining/paraformer/infer_from_local.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/industrial_data_pretraining/paraformer/infer_from_local.sh b/examples/industrial_data_pretraining/paraformer/infer_from_local.sh
index 06c9ca6..e0a70fb 100644
--- a/examples/industrial_data_pretraining/paraformer/infer_from_local.sh
+++ b/examples/industrial_data_pretraining/paraformer/infer_from_local.sh
@@ -2,11 +2,11 @@
 #  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`
 
@@ -14,7 +14,7 @@
 local_path_root=${workspace}/modelscope_models
 mkdir -p ${local_path_root}
 local_path=${local_path_root}/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
-git clone https://www.modelscope.cn/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch.git ${local_path}
+git lfs clone https://www.modelscope.cn/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch.git ${local_path}
 
 device="cuda:0" # "cuda:0" for gpu0, "cuda:1" for gpu1, "cpu"
 
@@ -22,7 +22,7 @@
 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}" \

--
Gitblit v1.9.1