@ptrblck Yeah I use the same pic to compare the result but the pc client got the output is not same as mine(in the field of iOS client).We both use same trained model. The difference is that I convert it within two steps. Firstly convert to onnx and then convert onnx to CoreML. In my mind when the input is same ,the output should be same. So the array of npy should be same.
I know the code as below:
But it doesn’t have the function of normalize only use the function of toTensor. Is it the image preprocess option?