Comments (4)
pip install -U funasr modelscope
from funasr.
pip install -U funasr modelscope
I have updated the version. This is the current version:
funasr==1.0.25
modelscope==1.14.0
There is a new problem now. When the input audio don't exclude active audio, the following errors occurs:
Traceback (most recent call last): File "D:\work_program\call-center-asr\engine_frame\web\service\webrtc_asr.py", line 176, in dbfs_check result.asr_content = double_channel_wav_asr(wavfile_path, file_right_path, file_left_path, is_dbfs=True, File "D:\work_program\call-center-asr\engine_frame\web\service\webrtc_asr.py", line 190, in double_channel_wav_asr return asr_pipeline_by_file(file_left_path, file_right_path, ascii_flag, right_bfs_cal) File "D:\work_program\call-center-asr\engine_frame\web\service\webrtc_asr.py", line 254, in asr_pipeline_by_file result.left_content = model.generate(input=file_left_path) File "D:\work_install\miniconda3\envs\funasr\lib\site-packages\funasr\auto\auto_model.py", line 232, in generate return self.inference_with_vad(input, input_len=input_len, **cfg) File "D:\work_install\miniconda3\envs\funasr\lib\site-packages\funasr\auto\auto_model.py", line 434, in inference_with_vad if raw_text is None: UnboundLocalError: local variable 'raw_text' referenced before assignment
from funasr.
Please offer details to reproduce, only use the code of demo.
from funasr.
Please offer details to reproduce, only use the code of demo.
demo:
model = AutoModel(model="iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch", model_revision="v2.0.4", vad_model="iic/speech_fsmn_vad_zh-cn-8k-common", vad_model_revision="v2.0.4", punc_model="ct-punc-c", punc_model_revision="v2.0.4", spk_model="cam++", spk_model_revision="v2.0.2", spk_mode='punc_segment' ) res = model.generate(input=wav_file)
this is a test audio which can trigger this bug:
test_audio.zip
from funasr.
Related Issues (20)
- pytorch 版本和 中文离线文件转写服务(CPU版本)版本识别录音文件 差别巨大 HOT 3
- 使用了GPU运行,但是CPU使用率依旧很高?根据性能报告,GPU确实生效。 HOT 2
- 当ws地址不是localhost的时候连接不上。 HOT 3
- Pyinstaller FunAsr是否支持?能否给个详细的打包exe说明? HOT 2
- 热词间有相互干扰 HOT 1
- Qwen-Audio + VAD 搭配使用报错 HOT 1
- 使用容器镜像启动funASR服务后使用客户端无法调用成功,提示vad_handle is null HOT 3
- 如何在浏览器中加载onnx HOT 1
- [paraformer] onnx-gpu 模型中encoder 和 decoder 相同的 fsmn_block 耗时相差100倍 HOT 2
- VAD切分效果不好
- modelscope推理 HOT 1
- benchmark_onnx_cpp中cpp编译失败 HOT 2
- h5 只显示部分内容,后台可以拿到所有内容 HOT 6
- When running paraformer, an error occurs in the first step of extracting cmvn features.
- 中文实时听写服务,docker启动后访问失败
- paraformer-en与vad联合使用时报错result中没有'timestamp'字段 HOT 1
- VAD - output speech segment probability
- 我的funasr离线用不了,client-server HOT 6
- onnx offline demo在gpu上运行非常慢,比cpu慢了差不多5倍 HOT 1
- iOS部署提示缺少文件,之前已有很多人遇到该问题,没人解决 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funasr.