ort.InferenceSession.create 失败,求助!
litaohckj opened this issue · comments
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模型文件是正常的
我已经定位到了。不用啦