Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ort.InferenceSession.create 失败,求助! #64

Open
litaohckj opened this issue Apr 25, 2024 · 2 comments
Open

ort.InferenceSession.create 失败,求助! #64

litaohckj opened this issue Apr 25, 2024 · 2 comments

Comments

@litaohckj
Copy link

chrome 浏览器

mac inter芯片

在文件 superResolution.ts 中 264行

    model = await ort.InferenceSession.create(modelBuffer, {
      executionProviders: [capabilities.webgpu ? 'webgpu' : 'wasm'],
    })

Error: Can't create a session. ERROR_CODE: 7, ERROR_MESSAGE: Failed to load model because protobuf parsing failed.

创建会话失败,onnx模型文件是正常的

@litaohckj
Copy link
Author

@lxfater 求助一下

@litaohckj
Copy link
Author

我已经定位到了。不用啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant