xcode - 加载 mlmodel "No known class for loading model type > MLModelType_pipelineClassifier"时出现机器学习错误

标签 xcode coreml createml mlmodel xcode10beta3

我已经用 Playground 创建了一个 mlmodel 并导入到我的 Xcode 项目中,但是当它运行时我收到了这个错误。

该错误也在 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}



为什么在playground 中制作mlmodel 时自动创建的代码会导致这个错误?

最佳答案

对我来说,问题出在 IOS-11 上。我遇到了同样的问题,然后我尝试了 IOS12 设备,它工作正常。

关于xcode - 加载 mlmodel "No known class for loading model type > MLModelType_pipelineClassifier"时出现机器学习错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51393416/

相关文章:

swift - 如何再次训练 ML?

ios - UItableviewcell dequeueReusableCellWithIdentifier removeFromSuperview

iphone - "The application does not have a valid signature"Xcode 4.3

ios - 图像动画

swift 4 : Vision Camera Preview Issues

swift - 如何为 MLDataTable 中的列定义/更改 MLDataValue.ValueType

xcode - 如何从其他应用程序在 Facebook Messenger 上分享链接?

ios - Coreml,验证输入失败。图片无效

ios - 为什么归一化后的目标检测结果中存在负坐标? (CoreML、Vision、Swift、Ios)

swift - 使用拆分表与完全分离表(CreateML、Swift)时的评估准确度不同