1 year ago
#363765
K_Mohit
CoreML fails to predict: Input Image size does not match
I created a Model using CreateML Style Transfer template, the output tab shows, input/output image size 512x512, But I am capturing the video at 1080x1920. When I try to Stylize the image it gives me the following error. How can make it flexible to any size or change it to 1080x1920 in the MLModel file itself?
[coreml] Error Domain=com.apple.CoreML Code=1 "Input image feature image does not match model description" UserInfo={NSLocalizedDescription=Input image feature image does not match model description, NSUnderlyingError=0x282d1e820 {Error Domain=com.apple.CoreML Code=0 "Image size 1080 x 1920 not in allowed set of image sizes" UserInfo={NSLocalizedDescription=Image size 1080 x 1920 not in allowed set of image sizes}}}
ios
coreml
coremltools
createml
0 Answers
Your Answer