Open tpmccallum opened 2 years ago
The same issue exists if non AOT mode is used i.e. just run the .wasm
file (instead of the .so
file)
var return_value = vm.RunUint8Array("infer", img_src);
Thanks so much!
It is most likely a wasm-bindgen
implementation bug in our NAPI. I would prefer to wait for node.js support for wasmedge-bindgen
and update all examples to use wasmedge-bindgen
.
Hi, Please see the following in relation to performing the FaaS Face Detection via wasmedge-extensions.
Compiled the
lib.rs
as per this standard source codeInstalled wasmedge-extensions on Ubuntu 20 and created the following environment to run the wasm file via NodeJs
The output from this is error free (no obvious errors or issue), however the res.jpg is not actually an image. Please find the following output for your convenience.
The Rust/Wasm is able to detect 30 faces which is correct, however for some reason the return value is not correct. Please see a snippet of the returned value in its raw form; just using vi (hope this helps).