Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebAssembly.instantiate(): invalid value type 's128', enable with --experimental-wasm-simd @+653). Build with -s ASSERTIONS=1 for more info. #4

Open
hxg-ai opened this issue Feb 3, 2021 · 3 comments

Comments

@hxg-ai
Copy link

hxg-ai commented Feb 3, 2021

我在浏览器中运行样例的时候遇到了如下的错误,自己编译完之后的模型运行也是这种情况,不知道怎么解决了,能不能帮我看一下
错误情况如下:

yolov5.js:1 Uncaught (in promise) RuntimeError: abort(CompileError: WebAssembly.instantiate(): invalid value type 's128', enable with --experimental-wasm-simd @+653). Build with -s ASSERTIONS=1 for more info.
at abort (http://127.0.0.1:8899/yolov5.js:1:18831)
at http://127.0.0.1:8899/yolov5.js:1:20818
abort @ yolov5.js:1
(anonymous) @ yolov5.js:1
Promise.then (async)
instantiateArrayBuffer @ yolov5.js:1
instantiateAsync @ yolov5.js:1
createWasm @ yolov5.js:1
(anonymous) @ yolov5.js:1
yolov5.js:1 Uncaught TypeError: Cannot read property 'malloc' of undefined
at Module._malloc (yolov5.js:1)
at HTMLVideoElement. (camera.html:94)

@hxg-ai
Copy link
Author

hxg-ai commented Feb 4, 2021

浏览器更新为最新

@eivaltsec
Copy link

浏览器更新为最新

大佬这个问题解决了么?用的是最新版的谷歌浏览器就可以了么?

@Altai01
Copy link

Altai01 commented Feb 11, 2022

Uncaught RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
at abort (yolov5up.js:1:16875)
at _abort (yolov5up.js:1:75217)
at 002b53f2:0xa154c
at 002b53f2:0x2ab7
at 002b53f2:0xeec
at Module.___wasm_call_ctors (yolov5up.js:1:78988)
at func (yolov5up.js:1:78306)
at callRuntimeCallbacks (yolov5up.js:1:19777)
at initRuntime (yolov5up.js:1:15472)
at doRun (yolov5up.js:1:81494)
有这个问题

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

No branches or pull requests

3 participants