microsoft / onnxjs

ONNX.js: run ONNX models using JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: cannot resolve operator 'ReduceL2' with opsets: ai.onnx v10

sgltkn opened this issue · comments

I am getting ReduceL2 operator error while creating InferenceSession with WebGL provider.

...
const options = { executionProviders: ['webgl'] } as OnnxRuntimeWeb.InferenceSession.SessionOptions;
this.resnet28Session = await OnnxRuntimeWeb.InferenceSession.create(this.resnet28Path, options);
...

image

Onnx version is 1.9.0
OS: Pop OS 21.04 (Nvidia)

We look forward to your reply . Thank you!

wrong place