Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

add example: RangeError: index out of range: 128 + 1 > 128 #282

Open
mbforbes opened this issue Apr 1, 2021 · 0 comments
Open

add example: RangeError: index out of range: 128 + 1 > 128 #282

mbforbes opened this issue Apr 1, 2021 · 0 comments

Comments

@mbforbes
Copy link

mbforbes commented Apr 1, 2021

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant