You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
I convert the .onnx model to coreml model, And I found pooling pading mismatch bug , #7 .
And then , I found the linear layer convert error, There is missing w, just b for a linear layer, So I manully add w, and then the return MLModel(builder.spec) raises
RuntimeError: Error compiling model: "Error reading protobuf spec. validator error: Layer '250' consumes a layer named '136' which is not present in this network.".
I try to solve it by myself, and I found pytorch.onnx convert linear into Transpose and Gemm, I dived into the pytorch export file, and I got stucked in the trace part. So, I dived into onnx_coreml.convert file, and I got stucked in the 'from ..libcoremlpython import _MLModelProxy', thr libcoremlpython is .so file.
It's really a pain to use onnx_coreml, please spend some time to fix this, or tell me how to solve this.
The text was updated successfully, but these errors were encountered:
I convert the
.onnx
model to coreml model, And I foundpooling pading mismatch
bug , #7 .And then , I found the linear layer convert error, There is missing
w
, justb
for a linear layer, So I manully addw
, and then thereturn MLModel(builder.spec)
raisesRuntimeError: Error compiling model: "Error reading protobuf spec. validator error: Layer '250' consumes a layer named '136' which is not present in this network.".
I try to solve it by myself, and I found
pytorch.onnx
convertlinear
intoTranspose
andGemm
, I dived into the pytorchexport
file, and I got stucked in thetrace
part. So, I dived intoonnx_coreml.convert
file, and I got stucked in the 'from ..libcoremlpython import _MLModelProxy', thrlibcoremlpython
is.so
file.It's really a pain to use onnx_coreml, please spend some time to fix this, or tell me how to solve this.
The text was updated successfully, but these errors were encountered: