I have a model converted from Caffe, and is compiled on-the-fly when the application is initialized.
The last few layer information printed out by CoreML compiler is as follow:
Neural Network compiler 55: 100 , name = score, output shape : (C,H,W) = (5, 28, 16)
Neural Network compiler 56: 100 , name = score_full, output shape : (C,H,W) = (5, 232, 136)
Neural Network compiler 57: 175 , name = softmax, output shape : (C,H,W) = (5, 232, 136)
In my code, my output is a multiarray. So I expect the shape of the multiarray to be [5, 232, 136].
However, When I run the model, I got an output multiarray with the shape [1, 1, 5, 232, 136]. Why do we get a 5-dimension array instead of a 3-dimension array?
The debug screenshot is here: https://ibb.co/kjR6wa
Anyone can help?
Thanks.