Ultra-Light-Fast-Generic-Face-Detector-1MB
Ultra-Light-Fast-Generic-Face-Detector-1MB copied to clipboard
onnx.js : cannot resolve operator 'Shape' with opsets: ai.onnx v9
First, thanks for the great work, the onnx models on python works just like expected.
Your models seem to be perfectly fitted for a javascript implementation, light and fast, but when I tried them on onnx.js in a browser, it returns this error :
cannot resolve operator 'Shape' with opsets: ai.onnx v9
Is there a way to get around this error, or should I investigate other solutions like : _ onnx > caffe > webassembly _ onnx > tensorflow > tensroflow.js
Thanks.
I haven't researched onnx.js yet, you can try these solutions.
cannot resolve operator 'Shape' with opsets: ai.onnx v9
I think the problem here confidence.size(0) (and similar places). There used dynamically calculation of the shape (ONNX js can`t do that). You should set it explicitly