加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – Coreml:尚未生成模型类

发布时间:2020-12-14 17:20:14 所属栏目:百科 来源:网络整理
导读:我已经使用coremltools从keras转换模型,将其添加到项目并添加到目标.然后,当我在模型类部分的导航器中按模型时,我得到“模型类尚未生成.”.这是什么意思? 解决方法 引自苹果开发论坛: Xcode has stopped automatically adding the coreml model to the bui
我已经使用coremltools从keras转换模型,将其添加到项目并添加到目标.然后,当我在模型类部分的导航器中按模型时,我得到“模型类尚未生成.”.这是什么意思?

enter image description here

解决方法

引自苹果开发论坛:

Xcode has stopped automatically adding the coreml model to the build settings of your project. To solve,go to your target,go to build phases,find compile sources and add your coreml model. After this,the model class is generated.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读