microsoft/onnxjs

Uncaught (in promise) TypeError: cannot resolve operator 'MaxPool' with opsets: ai.onnx v11

shiragit opened this issue · 3 comments

Hi,

I've exported a torch model to onnx with op_set=11.
When tried to load with onnx.js I got the following error:

Uncaught (in promise) TypeError: cannot resolve operator 'MaxPool' with opsets: ai.onnx v11

Screenshot from 2020-11-10 14-26-41

MaxPool is a supported operator according to the docs.
Exporting to onnx with op_set=10 is not an option due to other unsupported ops.

Thanks!

I believe op_set=10 doesn't work either because

['MaxPool', '', '1-9', () => new WebGLMaxPool()], // TODO: support new attributes for MaxPool-8 and MaxPool-10
says that only 1-9 are supported.

@shiragit have you found a solution?

has anyone resolved this?