Replies: 1 comment 1 reply
-
@zzmicer unforunately you're on your own with this one, I don't have the bandwidth to work with CoreML and I do know it has more limitations right now than say ONNX / tensorrt. The original code might have some extra workarounds / differences for coreml as it's by Apple. This model does export to ONNX. I'll move to discussions in case anyone else has any input. I don't consider it a bug at this point but a CoreML limitation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've trained mobilevitv2_200_384_in22ft1k on custom dataset. Now trying to convert it to CoreML via coremltools. Get an error
Encountered an error while compiling a neural network model: in operation of type reshape: Rank of the shape parameter must be between 0 and 5 (inclusive) in reshape
Versions
torch: 1.12.1
python: 3.8.8
coremltools: 5.2.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior

Beta Was this translation helpful? Give feedback.
All reactions