From 5ee2f382b32c5c0beaa1c133b466a100c6fb7ebc Mon Sep 17 00:00:00 2001 From: passerbya <hanghang3103@163.com> Date: 星期四, 20 三月 2025 23:01:05 +0800 Subject: [PATCH] FIX 'NoneType' object has no attribute 'isalpha' (#2440) --- examples/industrial_data_pretraining/fsmn_vad_streaming/export.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/industrial_data_pretraining/fsmn_vad_streaming/export.py b/examples/industrial_data_pretraining/fsmn_vad_streaming/export.py index f45ddee..38a1798 100644 --- a/examples/industrial_data_pretraining/fsmn_vad_streaming/export.py +++ b/examples/industrial_data_pretraining/fsmn_vad_streaming/export.py @@ -8,7 +8,7 @@ from funasr import AutoModel -model = AutoModel(model="iic/speech_fsmn_vad_zh-cn-16k-common-pytorch", model_revision="master") +model = AutoModel(model="iic/speech_fsmn_vad_zh-cn-16k-common-pytorch") res = model.export(type="onnx", quantize=False) print(res) @@ -17,7 +17,9 @@ from funasr import AutoModel -model = AutoModel(model="/Users/zhifu/.cache/modelscope/hub/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch") +model = AutoModel( + model="/Users/zhifu/.cache/modelscope/hub/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch" +) res = model.export(type="onnx", quantize=False) print(res) -- Gitblit v1.9.1