onnx-typecast icon indicating copy to clipboard operation
onnx-typecast copied to clipboard

Conversion of MODNet .onnx model

Open lee101 opened this issue 2 years ago • 1 comments

Thanks for sharing this script, i tried it on MODNet. (background removal open source codebase)

I had an error running it, it worked but when trying to do inference i get an error due to the ReShape operator

INVALID_GRAPH : Load model from modnetpf16simint32.onnx failed:This is an invalid model. Type Error: Type 'tensor(int32)' of input parameter (480) of operator (Reshape) in node (Reshape_177) is invalid.

lee101 avatar Nov 14 '23 05:11 lee101

can you share the link to the model repo/weights?

aadhithya avatar Nov 19 '23 19:11 aadhithya