0

我有一个使用 Create ML 创建的 coreml 模型。该模型适用于 iPhone 模拟器。但是它不适用于手表模拟器。可能是什么问题?它给出了以下错误:

EXC_BAD_ACCESS(代码=1,地址=0x7d66228)表达式产生错误:错误:/var/folders/zb/dn1s2sqj66789g1ht_cz3glh0000gn/T/expr1-5fb02f..swift:1:65:错误:使用未声明的类型'CoreML' Swift._DebuggerSupport .stringForPrintObject(Swift.UnsafePointer(bitPattern: 0x1932c0)!.pointee)

此错误与以下自动生成的功能有关。

func prediction(input: HandWashInput, options: MLPredictionOptions) throws -> HandWashOutput {
    let outFeatures = try model.prediction(from: input, options:options)
    return HandWashOutput(features: outFeatures)
}

模拟器:观看 5 系列 XCode:11.4 Swift 版本:5

在此处输入图像描述

4

0 回答 0