You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the onnx model in onnx.js environment, I get the problem as below.
opset.ts:48 Uncaught (in promise) TypeError: cannot resolve operator 'Shape' with opsets: ai.onnx v12
at Object.e.resolveOperator (opset.ts:48)
at t.resolve (session-handler.ts:60)
at e.initializeOps (session.ts:235)
at session.ts:92
at t.event (instrument.ts:294)
at e.initialize (session.ts:81)
at e.<anonymous> (session.ts:63)
at onnx.min.js:14
at Object.next (onnx.min.js:14)
at a (onnx.min.js:14)
When I run the onnx model in onnx.js environment, I get the problem as below.
And the javascript code is here.
The codes of onnx model inference lies in script.js. The error part is below.
We look forward to your reply!Thanks