【问题标题】:Getting errors in CoreML (.mlmodel file)?在 CoreML(.mlmodel 文件)中出现错误?
【发布时间】:2017-10-24 04:56:51
【问题描述】:

我在 Xcode 9 Beta 上使用 CoreML 和 Swift 4.0。

我从 WWDC 下载了 Inception v3.mlmodel 文件 我收到错误 Use of unresolved identifier 'InceptionV3' 和 Use of undeclared type 'InceptionV3'

我下载了一些示例项目,并且下载的项目也遇到了同样的问题。

现在我该怎么办?

谢谢

【问题讨论】:

    标签: swift io xcode9 swift4


    【解决方案1】:

    InceptionV3 是在您将.mlmodel 文件拖放到您的项目时自动生成的。尝试删除对该文件的引用并再次拖放。还要确保选择Target Membership 中的目标(选择.mlmodel 并查看右侧面板)。

    【讨论】:

      猜你喜欢
      • 2019-06-19
      • 2021-08-17
      • 2021-08-18
      • 2020-01-08
      • 2018-10-23
      • 2018-09-12
      • 2017-11-13
      • 2020-02-26
      • 2019-12-18
      相关资源
      最近更新 更多