7

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?

Nikolay Suvandzhiev
  • 8,465
  • 6
  • 41
  • 47
uplearned.com
  • 3,393
  • 5
  • 44
  • 59
  • It has something to do with the type of model that is created by the playground as I can get my code to run no problem with a "Custom Vision" model. The "Custom Vision" model is of type : Neural Network Classifier and the playground model is of type : Image Classifier – uplearned.com Jul 18 '18 at 21:27

1 Answers1

3

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

Peter Guan
  • 308
  • 3
  • 16