Skip to content

降级onnx==1.16.1方可正常使用 #1

@wangfeng35

Description

@wangfeng35

win11, python3.10, cu121
默认安装方式在下载模型的时候会报错❌ 模型加载失败: DLL load failed while importing onnx_cpp2py_export: 动态链接库(DLL)初始化例程失败。

查了下好像是默认安装的onnx版本太高1.7.0引起的,
回退版本号即可。
pip install onnx==1.16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions