onnx-typecast
onnx-typecast copied to clipboard
Conversion of MODNet .onnx model
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.
can you share the link to the model repo/weights?