Multiple and dynamically loaded CoreML models on demand

Viewed 1848

I'm working on an iOS 11 app to leverage the new CoreML framework. The idea is to have different .mlmodel files to handle a video input and provide a user with an ability to choose the desired model to classify it.

I have two issues here:

  • unable to add more than one model per xcode project. The xcode stops generating strongly typed models and I'm unable to instantiate them
  • unable to load .mlmodel dynamically (let's say I downloaded it on demand). Is there a way to load .mlmodel dynamically?
1 Answers
Related