HaujetZhao / CapsWriter-Offline

CapsWriter 的离线版,一个好用的 PC 端的语音输入工具
2.46k stars 197 forks source link

服务端运行报错,试了两台电脑都是一样效果 #4

Closed coolboy0002001 closed 5 months ago

coolboy0002001 commented 11 months ago

Traceback (most recent call last): File "start_server.py", line 10, in File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\core_server.py", line 207, in init asyncio.run(main()) File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\core_server.py", line 170, in main recognizer = sherpa_onnx.OfflineRecognizer.from_paraformer( File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\sherpa_onnx\offline_recognizer.py", line 158, in from_paraformer self.recognizer = _Recognizer(recognizer_config) RuntimeError: Failed to load model with error: D:\a_work\1\s\onnxruntime\core/graph/model_load_utils.h:56 onnxruntime::model_load_utils::ValidateOpsetForDomain ONNX Runtime only guarantees support for models stamped with official released onnx opset versions. Opset 19 is under development and support for this is limited. The operator schemas and or other functionality may change before next ONNX release and in this case ONNX Runtime will not guarantee backward compatibility. Current official support for domain com.ms.internal.nhwc is till opset 18.

[8260] Failed to execute script 'start_server' due to unhandled exception!

HaujetZhao commented 11 months ago

糟糕。我只更新了量化模型,忘记更新软件的依赖包了。我现在碰不到笔记本电脑,下周日我更新一下。

------------------ 原始邮件 ------------------ 发件人: coolboy0002001 @.> 发送时间: 2023年7月17日 22:30 收件人: HaujetZhao/CapsWriter-Offline @.> 抄送: Subscribed @.***> 主题: Re: [HaujetZhao/CapsWriter-Offline] 服务端运行报错,试了两台电脑都是一样效果 (Issue #4)

Traceback (most recent call last): File "start_server.py", line 10, in File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\core_server.py", line 207, in init asyncio.run(main()) File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\asyncio\base_events.py", line 649, in run_until_complete return future.result() File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\core_server.py", line 170, in main recognizer = sherpa_onnx.OfflineRecognizer.from_paraformer( File "D:\BaiduNetdiskDownload\CapsWriter-Offline-Win10-64-Pyinstaller-Without-Models\libs\sherpa_onnx\offline_recognizer.py", line 158, in from_paraformer self.recognizer = _Recognizer(recognizer_config) RuntimeError: Failed to load model with error: D:\a_work\1\s\onnxruntime\core/graph/model_load_utils.h:56 onnxruntime::model_load_utils::ValidateOpsetForDomain ONNX Runtime only guarantees support for models stamped with official released onnx opset versions. Opset 19 is under development and support for this is limited. The operator schemas and or other functionality may change before next ONNX release and in this case ONNX Runtime will not guarantee backward compatibility. Current official support for domain com.ms.internal.nhwc is till opset 18.

[8260] Failed to execute script 'start_server' due to unhandled exception!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

HaujetZhao commented 11 months ago

我借了电脑,更新百度网盘中的 windows 版本了。

caiqingzhi2020 commented 11 months ago

刚下载过来时候core_client py里面端口是16007,改成了6006就能解决连接不到server这个问题

HaujetZhao commented 11 months ago

真是抱歉,忘记端口的小小失误了