lxfater / inpaint-web

A free and open-source inpainting & image-upscaling tool powered by webgpu and wasm on the browser。| 基于 Webgpu 技术和 wasm 技术的免费开源 inpainting & image-upscaling 工具, 纯浏览器端实现。

Home Page:https://inpaintweb.lxfater.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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模型文件是正常的

@lxfater 求助一下

我已经定位到了。不用啦