From cab0af88d8d671d7a358dbdd1c9645cc4cbafd1d Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 21 二月 2024 13:47:50 +0800
Subject: [PATCH] bugfix

---
 examples/aishell/conformer/infer.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/aishell/conformer/infer.sh b/examples/aishell/conformer/infer.sh
index a64df54..bcd4305 100644
--- a/examples/aishell/conformer/infer.sh
+++ b/examples/aishell/conformer/infer.sh
@@ -1,6 +1,6 @@
 
 
-python funasr/bin/inference.py \
+python -m funasr.bin.inference \
 --config-path="/mnt/workspace/FunASR/examples/aishell/paraformer/exp/baseline_paraformer_conformer_12e_6d_2048_256_zh_char_exp3" \
 --config-name="config.yaml" \
 ++init_param="/mnt/workspace/FunASR/examples/aishell/paraformer/exp/baseline_paraformer_conformer_12e_6d_2048_256_zh_char_exp3/model.pt.ep38" \
@@ -8,5 +8,5 @@
 ++frontend_conf.cmvn_file="/mnt/nfs/zhifu.gzf/data/AISHELL-1-feats/DATA/data/train/am.mvn" \
 ++input="/mnt/nfs/zhifu.gzf/data/AISHELL-1/data_aishell/wav/train/S0002/BAC009S0002W0122.wav" \
 ++output_dir="./outputs/debug" \
-++device="cpu" \
+++device="cuda:0" \
 

--
Gitblit v1.9.1