ios – Coreml:尚未生成模型类

前端之家收集整理的这篇文章主要介绍了ios – Coreml:尚未生成模型类前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经使用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.

猜你在找的Xcode相关文章