rerender2021 / echo

A simple asr translator powered by avernakis react.
https://gnrr7mtqry.feishu.cn/docx/GlBodcTUwolsm7xGZAycVY7onBe
MIT License
109 stars 9 forks source link

GPU模式闪退报错 #8

Closed supermaruko closed 1 year ago

supermaruko commented 1 year ago

GPU模式闪退报错如下 C:[Develop]\echo-gpu>echo-use-gpu-debug.exe parse config succeed, use it parse config succeed, use it try to init vosk asr engine use asr-server-v1.1.0 asrDir exists, start asr server C:[Develop]\echo-gpu\asr-server-v1.1.0 try to init nlp engine nlp-gpu-server exists! use it nlpDir exists, start nlp server C:[Develop]\echo-gpu\nlp-gpu-server events.js:377 throw er; // Unhandled 'error' event ^

Error: spawn C:[Develop]\echo-gpu\asr-server-v1.1.0\ASR-API.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:277:19) at onErrorNT (internal/child_process.js:472:16) at processTicksAndRejections (internal/process/task_queues.js:82:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:283:12) at onErrorNT (internal/child_process.js:472:16) at processTicksAndRejections (internal/process/task_queues.js:82:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn C:\[Develop]\echo-gpu\asr-server-v1.1.0\ASR-API.exe', path: 'C:\[Develop]\echo-gpu\asr-server-v1.1.0\ASR-API.exe', spawnargs: [] }

CUBA安装如下 C:[Develop]\echo-gpu>nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022 Cuda compilation tools, release 11.7, V11.7.64 Build cuda_11.7.r11.7/compiler.31294372_0

rerender2021 commented 1 year ago

直接错误原因是: errno: -4058, code: 'ENOENT',

image

看上去是没成功启动语音识别服务器,可以看看路径下有没有C:[Develop]\echo-gpu\asr-server-v1.1.0\ASR-API.exe 如果有的话,双击C:[Develop]\echo-gpu\asr-server-v1.1.0\run.bat看看单独有什么报错没有

rerender2021 commented 1 year ago

另外这个路径看起来和通常不一样:“C:[Develop]”,这个中括号。我这边都是斜杠。

supermaruko commented 1 year ago

我的错 没问题了 解压的时候 asr-server-v1.1.0 目录变成双层的了 (^_^) 目录名里有 [] 也是没问题的 感谢