hollance / coreml-survival-guide

Source code for the book Core ML Survival Guide
MIT License
252 stars 36 forks source link

VNCoreMLTransformer #9

Closed tsingjinyun closed 5 years ago

tsingjinyun commented 5 years ago

Error Domain=com.apple.vis Code=3 "Failed to initialize VNCoreMLTransformer" UserInfo={NSLocalizedDescription=Failed to initialize VNCoreMLTransformer, NSUnderlyingError=0x1d0a455b0 {Error Domain=com.apple.vis Code=5 "No valid VNCoreMLModel found in passed in options" UserInfo={NSLocalizedDescription=No valid VNCoreMLModel found in passed in options}}}


@hollance ,hello ,have you come over this error?

hollance commented 5 years ago

What kind of model are you using where you're getting this error?

One situation where I can imagine getting this error is when the model does not have an image input, or it has additional inputs that do not have default values.

tsingjinyun commented 5 years ago

@hollance ,thanks for your advice, i have convert caffemodel of SSD to coreml, the error is input must match image or multiarray. After check the code input, and solve this problem. thanks again for you advice.