0

I've created a small sample program to test CoreML. Basic idea is to combine the results of several models for example VGG16 and Resnet50.

When I try to compile my project I'm getting this error:

enter image description here

Is it possible to use two or more model files in one project? If I remove one of the mlmodel files it compiles.

nathan
  • 9,329
  • 4
  • 37
  • 51
Stefan
  • 5,203
  • 8
  • 27
  • 51

1 Answers1

3

Yes, I had that issue. You need to go to build settings, and in the CoreML section change the language from 'Automatic' to 'Swift'

Pablo
  • 97
  • 4