开发者社区 > ModelScope模型即服务 > 自然语言处理 > 正文

modelscope-funasr本地跑,一直报找不到shm.dll,怎么解决?

modelscope-funasr本地跑,一直报找不到shm.dll,怎么解决?PS D:\pythonProject\FunASR\runtime\python\websocket> python funasr_wss_server.py --port 10095
Traceback (most recent call last):
File "D:\pythonProject\FunASR\runtime\python\websocket\funasr_wss_server.py", line 11, in
File "D:\Python310\lib\site-packages\funasr__init.py", line 37, in
File "D:\Python310\lib\site-packages\funasr\
init.py", line 33, in import_submodules
results.update(import_submodules(name))
File "D:\Python310\lib\site-packages\funasr\
init.py", line 25, in import_submodules
for loader, name, is_pkg in pkgutil.walk_packages(package.
path, package.name + "."):
File "D:\Python310\lib\pkgutil.py", line 92, in walk_packages
import(info.name)
File "D:\Python310\lib\site-packages\funasr\models\eres2net\
init.py", line 1, in
from .eres2net import ERes2Net
File "D:\Python310\lib\site-packages\funasr\models\eres2net\eres2net.py", line 14, in
import torch
File "D:\Python310\lib\site-packages\torch\
init__.py", line 143, in
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\Python310\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.

展开
收起
三分钟热度的鱼 2024-07-24 20:36:55 124 0
0 条回答
写回答
取消 提交回答

包含命名实体识别、文本分类、分词、关系抽取、问答、推理、文本摘要、情感分析、机器翻译等多个领域

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载