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
i have a detect model .onnx format. I use it in project onnxruntime-web-demo from Microsoft, all works for me well.
I do a simple project in angular 9, and same model with same code doesn't work for me. I don't pass step
const outputData = await model.run(feeds);
i get error
app.component.ts:121 Error: dynamic slice attributes are not allowed
at c (ort.min.js:6:152916)
at t.sliceV10 [as impl] (ort.min.js:6:152602)
at ort.min.js:6:213073
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at asyncToGenerator.js:27:1
at ZoneAwarePromise (zone.js:1411:21)
at asyncToGenerator.js:19:1
at t.Profiler.event (ort.min.js:6:228518)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i have a detect model .onnx format. I use it in project onnxruntime-web-demo from Microsoft, all works for me well.
I do a simple project in angular 9, and same model with same code doesn't work for me. I don't pass step
const outputData = await model.run(feeds);
i get error
app.component.ts:121 Error: dynamic slice attributes are not allowed
at c (ort.min.js:6:152916)
at t.sliceV10 [as impl] (ort.min.js:6:152602)
at ort.min.js:6:213073
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at asyncToGenerator.js:27:1
at ZoneAwarePromise (zone.js:1411:21)
at asyncToGenerator.js:19:1
at t.Profiler.event (ort.min.js:6:228518)
where can be a problem?
my code is in attachment
thanks
src.zip
Beta Was this translation helpful? Give feedback.
All reactions