-
Notice: In order to resolve issues more efficiently, please raise issue following the template.
(注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
## ❓ Questions and Help
### Before asking:
1. search the iss…
lllmd updated
3 months ago
-
#### Code
model_dir = "iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/"
model = Paraformer(model_dir, batch_size=1, quantize=True)
result = model("norm.wav")
####…
-
看到modelscope上模型的会输出识别路径的得分到score.txt,但我目前没有,请问是modelscope或者funasr的版本问题吗?
我的modelscope版本是1.9.1,funasr的版本是0.7.8,目前使用的是wav.scp的方式进行结果产出的
以下是我进行asr识别的代码
inference_pipeline = pipeline(
task=Tasks.a…
im73 updated
3 months ago
-
2024-01-24 19:17:58,650 - modelscope - INFO - PyTorch version 2.1.2 Found.
2024-01-24 19:17:58,651 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer
2024-01-24 19:17:5…
-
with open('x.wav', 'rb') as f:
d = f.read()
print(model.generate(d))
print(model.generate('x.wav'))
打印结果:
ckpt: models/modelscope/hub/iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-com…
-
```
from funasr_onnx import Paraformer,CT_Transformer
import time
asr_model_path = "./speech_paraformer-large_asr_nat-zh-cantonese-en-16k-vocab8501-online"
print("model: ", asr_model_path)
as…
-
-
现在似乎导出后没有时间戳
-
关键词识别模型加载时间需要30秒!如何优化 ? Keyword spotter model loading time takes 30 seconds! How to optimize?
`/home/suser/sherpa-onnx-1.10.20/sherpa-onnx/c-api/c-api.cc:SherpaOnnxCreateKeywordSpotter:637 Keyword…
-
finetune:
#模型路径
model_name_or_model_dir="iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
train_data="data/train.jsonl"
val_data="data/valid.jsonl"
scp2jsonl…