From 856760465b1e04afeba807feb96c658e098b76f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Fri, 5 Jan 2024 16:27:40 +0800 Subject: [PATCH] update --- examples/industrial_data_pretraining/monotonic_aligner/infer.sh | 2 +- funasr/models/monotonic_aligner/model.py | 2 +- funasr/models/paraformer/model.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/industrial_data_pretraining/monotonic_aligner/infer.sh b/examples/industrial_data_pretraining/monotonic_aligner/infer.sh index 43fa25b90..179e7148a 100644 --- a/examples/industrial_data_pretraining/monotonic_aligner/infer.sh +++ b/examples/industrial_data_pretraining/monotonic_aligner/infer.sh @@ -3,7 +3,7 @@ local_path_root=../modelscope_models mkdir -p ${local_path_root} local_path=${local_path_root}/speech_timestamp_prediction-v1-16k-offline -# git clone https://www.modelscope.cn/damo/speech_timestamp_prediction-v1-16k-offline.git ${local_path} + git clone https://www.modelscope.cn/damo/speech_timestamp_prediction-v1-16k-offline.git ${local_path} python funasr/bin/inference.py \ diff --git a/funasr/models/monotonic_aligner/model.py b/funasr/models/monotonic_aligner/model.py index c0ac1362f..ece319dea 100644 --- a/funasr/models/monotonic_aligner/model.py +++ b/funasr/models/monotonic_aligner/model.py @@ -14,7 +14,7 @@ from funasr.utils import postprocess_utils from funasr.utils.datadir_writer import DatadirWriter from funasr.register import tables from funasr.models.ctc.ctc import CTC -from funasr.utils.load_utils import load_audio_and_text_image_video, extract_fbank, load_audio_and_text_image_video +from funasr.utils.load_utils import load_audio_and_text_image_video, extract_fbank diff --git a/funasr/models/paraformer/model.py b/funasr/models/paraformer/model.py index 54924205f..84571a4b5 100644 --- a/funasr/models/paraformer/model.py +++ b/funasr/models/paraformer/model.py @@ -22,7 +22,7 @@ from funasr.models.paraformer.search import Hypothesis from torch.cuda.amp import autocast -from funasr.utils.load_utils import load_audio_and_text_image_video, extract_fbank, load_audio_and_text_image_video +from funasr.utils.load_utils import load_audio_and_text_image_video, extract_fbank from funasr.utils import postprocess_utils from funasr.utils.datadir_writer import DatadirWriter from funasr.register import tables