Open bayartsogt-ya opened 3 years ago
You're using export in version 9, but the README says
ONNX.js currently supports most operators in ai.onnx operator set v7 (opset v7)
Export your model with opset_version=7
and it'll work just fine.
Judging from Operator.md, Pow is supported.
As I understand, it was merged on 2 Sep 2020 and the latest stable version was released on 28 Aug 2020. So you can clone the repo and build it yourself... however looks like there are currently some emsdk compatibility issues with wasm runtime.
I tried to load mobilenet_v2 model (pretrained and exported on PyTorch) in ReactJS using script below:
and faced following error:
Judging from Operator.md, Pow is supported.
Honestly, I have no idea even what this output message is about...
How can I approach to this problem?