In Python, I trained an image classification model with keras to receive input as a [224, 224, 3] array and output a prediction (1 or 0). When I load the save the model and
In your Core ML conversion script you can supply the parameter image_input_names='data' where data is the name of your input.
image_input_names='data'
data
Now Core ML will treat this input as an image (CVPixelBuffer) instead of a multi-array.
CVPixelBuffer