add example: RangeError: index out of range: 128 + 1 > 128
mbforbes opened this issue · comments
Hi there!
I'm attempting to run the browser/add example — the first one linked from the readme:
https://github.com/microsoft/onnxjs/tree/master/examples/browser/add
So I combined
https://github.com/microsoft/onnxjs/blob/master/examples/browser/add/index.js
with the linked add.onnx
model (from the onnxjs-demo repo):
https://github.com/Microsoft/onnxjs-demo/tree/data/data/examples/models
but when I click "Run," I get:
(index):33 Uncaught (in promise) RangeError: index out of range: 128 + 1 > 128
at u (onnx.min.js:formatted:7190)
at s.p (onnx.min.js:formatted:7222)
at s.int64 (onnx.min.js:formatted:7387)
at Function.t.decode (onnx.min.js:formatted:2708)
at t.load (onnx.min.js:formatted:21183)
at onnx.min.js:formatted:20027
at t.event (onnx.min.js:formatted:1456)
at e.initialize (onnx.min.js:formatted:20025)
at e.<anonymous> (onnx.min.js:formatted:19994)
at onnx.min.js:formatted:19918
Any idea if I'm missing something? Many thanks!