forresti / SqueezeNet

SqueezeNet: AlexNet-level accuracy with 50x fewer parameters
BSD 2-Clause "Simplified" License
2.17k stars 723 forks source link

Image Width Issue #48

Closed azamsharp closed 6 years ago

azamsharp commented 7 years ago

I am getting this:

2017-07-14 23:09:09.599393-0500 Light[10405:2914525] [core] 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=0x1c0a5ae50 {Error Domain=com.apple.CoreML Code=1 "Image is not valid width 227, instead is 1280" UserInfo={NSLocalizedDescription=Image is not valid width 227, instead is 1280}}}

forresti commented 6 years ago

Just reading the error... Did you initialize the model for 227x227 and then feed a 1280x1024 image?