Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Machine Learning Error when loading mlmodel "No known class for loading model type > MLModelType_pipelineClassifier"

I have created a mlmodel with Playground and imported into my Xcode project though when it runs I'm getting this error.

The error is also flagged here in the code of the mlmodel. enter image description here

ObjectClassifier[24610:8307770] [coreml] MLModelAsset: modelWithError: load failed with error Error Domain=com.apple.CoreML Code=3 "No known class for loading model type MLModelType_pipelineClassifier" UserInfo={NSLocalizedDescription=No known class for loading model type MLModelType_pipelineClassifier}

Why would the code that is automatically created when making the mlmodel in the playground be causing this error?

like image 918
uplearned.com Avatar asked Jul 18 '18 04:07

uplearned.com


1 Answers

For me the problem is with IOS-11. I faced the same issue, then I tried with IOS12 device and it works fine.

like image 74
Peter Guan Avatar answered Nov 15 '22 10:11

Peter Guan