I am working on an image recognition CoreML ios app and I have converted my CNN keras model to .mlmodel to be deployed on CoreML mobile application but I'm getting this error message:
"coremlc: Error: compiler error: Espresso exception: "Invalid
argument":generic_reshape_kernel: Invalid bottom shape (64 8 -2 1 1) for
reshape to (4096 -1 1 1 1)Command CoreMLModelCompile failed with a nonzero
This is the only error message I get when running the app. What is the source of this error and how to fix it?
I am looking for someone with Convolutional Neural Network (image recognition) and CoreML background.
Any help would be appreciated, Thank you.