Open weingaunity opened 3 years ago
Similar here. Why is this not in the WebGl operator set?
Despite the fact, that in my case webgl seems not to work, i worked around the missing shape function issue by changing the network structure.
But at the end i used tensorflow to inference. So i converted the onnx model to a tensorflow model and exported to tensorflow.js. This works very well and supports webgl.
Uncaught (in promise) TypeError: cannot resolve operator 'Shape' with opsets: ai.onnx v9
You need replace code in places such as x.view(x.size(0), -1)
on explicit value instead of x.size(0)
Hi, i try to load a onnx model of mobilenet v3 which i have exportet with pytorch.
When i try to load the model in the browser using following exception is thrown:
According to the documentation it should be supported starting from version 1+.
Which backend is used by onnx.min.js?
Here the onnx creation process: