I've converted model from keras with coremltools, added it to project and added to targets. And then when i'm pressing on model in navigator in Model Class section i'm getting "Model class has not been generated yet.". What does it mean?
It means you first need to build your project (Cmd+B). The model class is generated as part of the build process.
target
-> Build Setting
-> CoreML Model Compiler - Code Generation
-> CoreML Generated Model Inherits NSObject
-> YES
Cited from apple dev forum:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With